You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Panos Bariamis (JIRA)" <ji...@apache.org> on 2016/06/28 14:53:56 UTC

[jira] [Created] (VELOCITY-875) SimpleNode method literal() repeats last character

Panos Bariamis created VELOCITY-875:
---------------------------------------

             Summary: 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
            Priority: Minor


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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org