You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Finaris <rj...@finaris.de> on 2009/06/02 09:53:59 UTC

Velocity removes a newline after a macro call

Hi all, 

i use velocity 1.6.2 and i have the following issue to report. 

When i call a macro at the end of a line, velocity removes the newline after
the macro call.

Example:

  Template:
  #macro( testMarcro ) i am a macro #end
  #testMacro()
  #testMacro()

  Output:
  i am a macro i am a macro



Can somebody explain this stange velocity behavior ???


-- 
View this message in context: http://www.nabble.com/Velocity-removes-a-newline-after-a-macro-call-tp23827728p23827728.html
Sent from the Velocity - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org