velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Finaris ...@finaris.de>
Subject Velocity removes a newline after a macro call
Date Tue, 02 Jun 2009 07:53:59 GMT

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


Mime
View raw message