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

Wrong highlighting with "<" lower than symbol #73

Open
ghost opened this issue Jul 6, 2016 · 3 comments
Open

Wrong highlighting with "<" lower than symbol #73

ghost opened this issue Jul 6, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 6, 2016

Whenever I introduce the lower than symbol "<" in a textare the highlighting does not work properly, it does not highlight the words I set to highlight. maybe a flag or something to disable this ?

@manueljeffin
Copy link

Hi,
I have the same problem. Did you find a solution for this?

@rlamorea
Copy link

The problem lies in the fact that the regexes in the words list are run through an HTML pass, so the less-than symbol is getting converted into &lt in the regex. This is actually wrong. Not sure why word content is being changed to HTML since the word regex applies to the value of the textarea, not the HTML display of it as far as I can tell.

@leomontenegro6
Copy link

I'm getting the same issue above. Can't find a way to highlight tags in a format similar to HTML, where there's some text inside "<" and ">".

It works fine for curly brackets, though.

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

3 participants