FIX: Do not replace words in hashtags and mentions (PR #14760)

Watched words were replaced inside mentions and hashtags when watched word regular expressions were enabled.

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there: