You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Harald Haas (JIRA)" <de...@velocity.apache.org> on 2008/07/01 10:17:45 UTC

[jira] Updated: (VELOCITY-601) escaping when { used doesn't work

     [ https://issues.apache.org/jira/browse/VELOCITY-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harald Haas updated VELOCITY-601:
---------------------------------

    Summary: escaping when { used doesn't work  (was: escapping when { used doesn't work)

> escaping 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org