CensorString fails to clean words in multi-line input
kHackett opened this issue · comments
Kevin Hackett commented
In a multi-line textbox entry, words are missed if they are before or after a \r\n or \n.
Example: only the first word is censored
var output = profanityFilter.CensorString( "fuk fuk\r\nfuk fuk\nfuk", '#');
Kevin Hackett commented
... and also HTML tags eg: "<b>fuk</b>"