Multiple multi-line comments not supported for SQL and Java

Issue #19 resolved
Former user created an issue

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)

  1. Log in to comment