rayantony / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Problem with backslash in VB #365

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create <pre> element with some vb code and place a backslash within double 
quotes

Eg.

<pre name="code" class="prettyprint lang-vb">
Sub Test()
    Print "path\filename"
End Sub
</pre>

The backslash is treated as escape character so all the code next to the 
backslash is treated as string content, when it is not: string content must end 
with the last double quote at the end of the same line.

Original issue reported on code.google.com by massimo....@gmail.com on 22 Jan 2015 at 7:55

Attachments: