When a keyword is a phrase, and another keyword contains that exact keyword, (for example, the two phrases: 'edit right' 'edit') the phrase edit right gets wrapped in a span, and then edit gets wrapped in a span too, resulting in the word 'span' showing up in the text because of it being double wrapped incorrectly.
When a keyword is a phrase, and another keyword contains that exact keyword, (for example, the two phrases: 'edit right' 'edit') the phrase edit right gets wrapped in a span, and then edit gets wrapped in a span too, resulting in the word 'span' showing up in the text because of it being double wrapped incorrectly.