[BUG] - Replacement loops if replacement word is a phrase that contains the word to be replaced
Describe the bug When adding a phrase to replace a triggering word and adding the triggering word into the phrase, the program loops infinitely, creating an endless cycle of the phrase replacing the triggering word.
To Reproduce Steps to reproduce the behavior:
- Add a phrase as the replacement word
- Make one of the words the triggering words
- find the triggering word on any page
- See error
Expected behavior The phrase should only replace once and not loop
Desktop (please complete the following information):
- OS: All Operating Systems
- Browser: All browsers
- Browser Version: all versions
- Extension Version: v0.1.0.1
Edited by Emmey