Add a 'fragmention' class to matched element.

Remove from existing elements when a new one is searched for.
Collapse content whitespace before matching against text.