Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rangy.findText() not working for text with &nbsp space. #404

Open
rajanikanth05 opened this issue Sep 1, 2016 · 2 comments
Open

rangy.findText() not working for text with &nbsp space. #404

rajanikanth05 opened this issue Sep 1, 2016 · 2 comments

Comments

@rajanikanth05
Copy link

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 &nbsp space init.

@rajanikanth05
Copy link
Author

Added fix #405

@lddubeau
Copy link

It seems to me you just need to use the character options. Specifically, the ignoreCharacters option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants