rangy
rangy copied to clipboard
rangy.findText() not working for text with   space.
I'm using rangy-TextRange module's rangy.findText() to find and highlight text. I figured out that the findText() returns false for the text that has   space init.
Added fix https://github.com/timdown/rangy/pull/405
It seems to me you just need to use the character options. Specifically, the ignoreCharacters
option.