mujianmin / google-code-prettify

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

Fails with Scala triple-quoted string containing quote(s) inside #342

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Consider this Scala snippet:

val txt = """This text has "quoted" text on it""" + otherString

The quotes inside the triple-quoted string should not unquote or confuse the 
parsing.

The entire tripe-quoted string should be formatted as if it was a single-quoted 
string with nothing fancy on them.

In other words: the quotes inside a triple-quoted string should not need to be 
escaped (because, in Scala, they don't need to; that's the point).

Original issue reported on code.google.com by sebno...@gmail.com on 15 May 2014 at 11:02

Attachments: