- changed milestone to 1.8.0
-
assigned issue to
SQL "IF" and "USE" keyword not highlighted
Issue #40
resolved
When using code:sql it seems the "IF" keyword is not formatted.
Example:
#!
{code:sql}
IF something = 1 THEN
val := 2;
END IF;
{code}
In Firefox 26 the above would highlight "THEN" and "END", but not "IF".
Comments (6)
-
repo owner -
repo owner - changed status to open
-
Hi, I also noticed that USE is also not highlighted
Example {code:sql} USE master; SELECT * FROM master.dbo.spt_monitor;
-
repo owner - changed title to SQL "IF" and "USE" keyword not highlighted
-
repo owner Okay, no problem. Easy to fix ee1469d.
-
repo owner - changed status to resolved
- Log in to comment
Yes, keyword "if" is missing in SQL brush. Created a bugfix 567c57e. Will be released as part of version 1.8.0.
Cheers, Holger
P.S. Also created a pull request for SyntaxHighligher by Alex Gorbatchev.