Michael Price

Results 9 comments of Michael Price

Thanks Corey. Right, this was part of the breaking changes that led to a major version upgrade. Noted here: https://github.com/web-mech/badwords/commit/656b87c47033a795dd394d18ee875aa91b1f7a1c I do think we can add a type error for...

I'd be happy to accept a PR for this 👍

We can probably put together another method that cleans html. I'll look to implement in the next release.

@ceefour i think this is a great idea. I think this goes along with my intention to make this lib more client side friendly. I'll consider this in the coming...

Could you post an example of what you're trying to do or even better submit a failing test?

Take a look at the usage docs here: https://github.com/web-mech/badwords#add-words-to-the-blacklist. There was a breaking change in the api which led to a major version upgrade. You will need to use the...

https://github.com/web-mech/badwords/commit/31126d6004f2d997f5121a3fbbd6992af1a0691b - this has been attempted and we failed miserably at doing this. A pull-request is welcome but at this point I've invested too much time chasing this issue. I...

I'll take a look into building a umd build

LGTM. We'll integrate a CI/CD pipeline in the near future and make this a part of it