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

Claude Brisson closed VELOCITY-679.
-----------------------------------
    Resolution: Not A Bug
      Assignee: Claude Brisson

Issue title and comment aren't consistent. I guess you mean \\$$foo

$$foo -> $bar (ok, first $ is literal)
\$$foo -> $foo (weird)
\\$$foo -> \$bar (ok: \\ renders to \ before a $, then the first $ is literal 
and $foo gives $bar)
\$foo -> $foo (ok)
\\$foo -> \bar (ok)

Only the second case looks problematic, but what should we output? The usecase 
itself is problematic.

Fell free to reopen if I missed something.


> Escaping #set(foo="bar")\\$$foo broken
> --------------------------------------
>
>                 Key: VELOCITY-679
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-679
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.6.1, 1.7
>            Reporter: Byron Foster
>            Assignee: Claude Brisson
>            Priority: Trivial
>             Fix For: 2.x
>
>
> The following VTL
> #set($foo="bar")\\$$foo
> results in:
> \$bar
> but should be:
> \\$bar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to