[
https://issues.apache.org/jira/browse/VELOCITY-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665878#action_12665878
]
Nathan Bubna commented on VELOCITY-670:
---------------------------------------
Yeah, all macros in #parse'd files are essentially forward-referenced, since
#parse doesn't happen until runtime.
> 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]