Small bug with pre formatting
-
So, if you use cs as the language in your pre tag, the escape character doesn't escape double quotes. By that I mean that if you write:
arrString[0] = arrString[0].Replace("\"",string.Empty);
or
string test = "something\"" + this + "\"something else"
it treats each double quote as starting or ending the current text section screwing up the coloring.
-
So, if you use cs as the language in your pre tag, the escape character doesn't escape double quotes. By that I mean that if you write:
arrString[0] = arrString[0].Replace("\"",string.Empty);
or
string test = "something\"" + this + "\"something else"
it treats each double quote as starting or ending the current text section screwing up the coloring.
Thanks - I thought we had that licked but I've reopened that ticket.
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP