bugenhancementhelp wanted
Repository metrics
- Stars
- (3 stars)
- PR merge metrics
- (PR metrics pending)
Description
Line 109 and 100 of the JS file state:
// Right now we have a problem where words in the explanation are also searched and flagged as a problematic word/phrase. Test with the word “black” // Because of this, a phase like “black list” will never match because “black” is matched first
I'd like to figure out a way around this. I would bet that the Regex (line 52) might be able to avoid matching on words inside the title attribute. Or, the order in which words are matched needs to change. Or or the results need to be stored in an array before they are output, which might avoid being checked again in a loop.