discourse/app/assets/javascripts/pretty-text/engines
Bianca Nenciu 74f7295631
FIX: Add word boundaries to replace and tag watched words (#13405)
The generated regular expressions did not contain \b which matched
every text that contained the word, even if it was only a substring of
a word.

For example, if "art" was a watched word a post containing word
"artist" matched.
2021-06-18 18:54:06 +03:00
..
discourse-markdown FIX: Add word boundaries to replace and tag watched words (#13405) 2021-06-18 18:54:06 +03:00