C++ Highlight Brace issue
I'm not sure what else would cause an issue, but when you use a [ in the highlight=C++ tag, it converts it as shown below.
If you put two in a row, it only seems to catch the first, though. It also seems to omit it if you put it in a comment
c++ Code:
//char str [LINE_LENGTH];
Re: C++ Highlight Brace issue
Quote:
Originally Posted by kfcSmitty
I'm not sure what else would cause an issue, but when you use a [ in the highlight=C++ tag, it converts it as shown below.
Which highlight code is causing problems the first or second example?
Re: C++ Highlight Brace issue
The first one is converting [ to [ (with a semi colon at the end, but the forums keeps converting it on me), whereas the second one with the comment, displays it correctly.
Re: C++ Highlight Brace issue
That's the HIGHLIGHT tag itself converting it. Try it with C# too. Same thing will happen.
I believe this issue was posted before and admins/mods are aware of this.
Re: C++ Highlight Brace issue
highlight in code tags:
code in highlight tags:
c++ Code:
[code]
char str [LINE_LENGTH];
[/code]
Edit:
It doesn't help if you wrap the whole thing in code tags either highlight tags inside code tags or the other way around.