Alexander Rosenberg created VELOCITY-874: --------------------------------------------
Summary: Addition works, but subtraction doesn't Key: VELOCITY-874 URL: https://issues.apache.org/jira/browse/VELOCITY-874 Project: Velocity Issue Type: Bug Environment: VTL in user macro in Atlassian Confluence 5.9.4 Reporter: Alexander Rosenberg This works as expected: {noformat} ## @noparams #set ($n = 5) #set ($m = $n+1) <p>$m</p> {noformat} Output: {{<p>6</p>}} However, subtraction doesn't work: {noformat} ## @noparams #set ($n = 5) #set ($m = $n-1) <p>$m</p> {noformat} Output: {{<p>$m</p>}} -- 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