escapping when { used doesn't work
----------------------------------
Key: VELOCITY-601
URL: https://issues.apache.org/jira/browse/VELOCITY-601
Project: Velocity
Issue Type: Bug
Affects Versions: 1.5
Reporter: Harald Haas
trying to escape by
\${test test test}
results in
Error while rendering template
org.apache.velocity.exception.ParseErrorException: Encountered " test test}\n"
at line 2, column 8 of 26
Was expecting one of:
"}" ...
<DOT> ...
at org.apache.velocity.Template.process(Template.java:137)
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:415)
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335)
at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
at
org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:324)
at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:473)
...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]