You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a less than or greater than character in an if statement, SQL language detection will fail.
E.g: hljs.highlightAuto("if 5 < 10", ["sql"]);
Returns text with no language highlighting, as "<" is detected as an 'illegal lexeme'.
The text was updated successfully, but these errors were encountered:
jasongisstl
changed the title
Unable to use < or > in SQL if statement
SQL language detection breaks if you use a < or > character in an if statement
Jan 23, 2017
If you have a less than or greater than character in an if statement, SQL language detection will fail.
E.g:
hljs.highlightAuto("if 5 < 10", ["sql"]);
Returns text with no language highlighting, as "<" is detected as an 'illegal lexeme'.
The text was updated successfully, but these errors were encountered: