[
https://issues.apache.org/jira/browse/VELOCITY-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mortagne updated VELOCITY-923:
-------------------------------------
Description:
The following fail in Velocity 2.2-SNAPSHOT:
{code}
$var||
{code}
but works fine in 1.7.
The workarounds is to put the expression inside {} (as in ${var})
Since || is a wiki syntax in our case it's not rare to see table cells or a
link reference containing a Velocity variable (without any {} protection since
it was working well in 1.7).
was:
The following fail in Velocity 2.2-SNAPSHOT:
{code}
$var||
{code}
but works fine in 1.7.
The workarounds is to put the expression inside {} (as in ${var})
Since || is a wiki syntax in our case it's not rare to see table cells or a
link label containing a Velocity variable (without any {} protection since it
was working well in 1.7).
> New syntax error when || follow a Velocity expression
> -----------------------------------------------------
>
> Key: VELOCITY-923
> URL: https://issues.apache.org/jira/browse/VELOCITY-923
> Project: Velocity
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Thomas Mortagne
> Priority: Blocker
> Labels: regression
>
> The following fail in Velocity 2.2-SNAPSHOT:
> {code}
> $var||
> {code}
> but works fine in 1.7.
> The workarounds is to put the expression inside {} (as in ${var})
> Since || is a wiki syntax in our case it's not rare to see table cells or a
> link reference containing a Velocity variable (without any {} protection
> since it was working well in 1.7).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]