Multiple multi-line comments not supported for SQL and Java
Issue #19
resolved
When I write a SQL code block with more than one set of multi-line comments the syntax highlighter seems to see only the first opening tag (/) and the last closing tag (/). Everything between them is interpreted as a comment.
For example if I have a code like this:
SELECT 1 FROM dual;
/*
comment 1
slksdfj
*/
SELECT 2 FROM dual;
/*
comment 2
slksdfj
*/
SELECT 3 FROM dual;
/*
comment 3
slksdfj
*/
SELECT 2 FROM dual;
...only the first and last line will be highlighted as SQL code, everything else will just look like a one long multi-line comment.
Comments (3)
-
repo owner -
repo owner - changed milestone to 1.6.1
- changed title to Multiple multi-line comments not supported for SQL and Java
-
repo owner - changed status to resolved
- Log in to comment
Found out, that there is a similar problem with multi line JAVA comment.
And I found an easy solution for it.