Skip to content

Commit 80a2b54

Browse files
committed
issue #10959 Capability to render GitHub flavor Markdown comments
When having in the new syntax where the last "comment" character was not separated from the `-->` the `-->` was shown in the output.
1 parent 43bdc95 commit 80a2b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commentcnv.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ SLASHopt [/]*
826826
copyToOutput(yyscanner,yytext,yyleng);
827827
}
828828
829-
<CComment,CNComment>[^ `~<\\!@*\n{\"'\/]* { /* anything that is not a '*' or command */
829+
<CComment,CNComment>[^ `~<\\!@*\n{\"'\/-]* { /* anything that is not a '*' or command */
830830
copyToOutput(yyscanner,yytext,yyleng);
831831
}
832832
<CComment,CNComment>"*"+[^*\/<\\@\n{\"]* { /* stars without slashes */

0 commit comments

Comments
 (0)