[
https://issues.apache.org/jira/browse/VELOCITY-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665835#action_12665835
]
Jarkko Viinamäki commented on VELOCITY-670:
-------------------------------------------
Let's remember that in upcoming Velocity 1.7 you can now use #[[ anything ]]#
to escape things.
> Macro escaping inconsistent with forward references
> ---------------------------------------------------
>
> Key: VELOCITY-670
> URL: https://issues.apache.org/jira/browse/VELOCITY-670
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.6
> Reporter: Byron Foster
> Priority: Minor
>
> Escaping a macro behaves differently if the macro is forward referenced. for
> example the following:
> #macro(foo)bar#end
> \#foo
> gives result:
> #foo
> However this:
> \#foo
> #macro(foo)bar#end
> gives result:
> \#foo
--
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]