Profanity Filter

Simple filtering for profanity from website text. Not limited to static text, while avoiding performance impact.

< Feedback on Profanity Filter

Question/comment

§
Posted: 2018-01-20

Missing semicolon

why? but i did the right way-

const customWords = ['work',]

adisibAuthor
§
Posted: 2018-01-20

The right way to only filter the word "work" would be:
const customWords = ['work'];

Post reply

Sign in to post a reply.