[
https://issues.apache.org/jira/browse/VELOCITY-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claude Brisson resolved VELOCITY-875.
-------------------------------------
Resolution: Fixed
Assignee: Claude Brisson
Fix Version/s: 2.x
The problem seems to have disappeared in 2.x.
> SimpleNode method literal() repeats last character
> --------------------------------------------------
>
> Key: VELOCITY-875
> URL: https://issues.apache.org/jira/browse/VELOCITY-875
> Project: Velocity
> Issue Type: Bug
> Reporter: Panos Bariamis
> Assignee: Claude Brisson
> Priority: Minor
> Fix For: 2.x
>
>
> Method org.apache.velocity.runtime.parser.node.SimpleNode#literal repeats the
> last character.
> e.g. having a template as
> <script>
> ....
> </script>
> and having
> Template tpl = velocity.getTemplate(...);
> System.out.println(((SimpleNode)tpl.getData()).literal())
> will print
> <script>
> ....
> </script>>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]