Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Templating
-
Labels:None
-
Number of attachments :
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.
Issue Links
- is depended upon by
-
GROOVY-980
SimpleTemplateEngine fails when enclose expression dosn't immediately evaluate to a String
-
patch diff to be applied from groovy/groovy-core