Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The SimpleTemplateEngine got a problem with escaping quotes inside GStrings.
"this" is tricky: ${hello + " " + hello}
will be parsed to
out.print("\"this\" is tricky: ${hello + \" \" + hello}");
which is a problem for the current lexer as a GString must be a valid groovy statement.
Attachments
Attachments
Issue Links
- is depended upon by
-
GROOVY-980 SimpleTemplateEngine fails when enclose expression dosn't immediately evaluate to a String
- Closed