Article code auto-formating (C#, \" escape)
-
I notice that the auto-formatting for lang="cs" code in new articles doesn't handle the \" escape character in mid-string. Thus if you have code like --- sb.Append("\""); sb.Append(MyProperty); sb.Append("\""); --- it thinks you've opened a second string on the first line and not closed it until the last. In fact I only have two literal strings here and both are a double-quote. Paul
-
I notice that the auto-formatting for lang="cs" code in new articles doesn't handle the \" escape character in mid-string. Thus if you have code like --- sb.Append("\""); sb.Append(MyProperty); sb.Append("\""); --- it thinks you've opened a second string on the first line and not closed it until the last. In fact I only have two literal strings here and both are a double-quote. Paul
We're currently working on redoing the syntax colouring. cheers, Chris Maunder