alexgorbatchev/SyntaxHighlighter — Issue #90: wrong html tag completion in cpp brush
Author: clementfarabet
Created: 2012-02-09 04:47:24+00:00
State: open

When highlighting C or CPP code that contains html-like tags, SyntaxHighlighter appends a closing tag.

C example:

void somefunction() {
printf("something, and an html ");
return 1;
}

rendered output:

1 | void somefunction() {
2 | printf("something, and an html ");
3 | return 1;
4 | }
5 |

It might not be due to the CPP/C mode.