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

Reply via email to