« Return to Thread: Velocity removes a newline after a macro call

Velocity removes a newline after a macro call

by Finaris :: Rate this Message:

Reply to Author | View in Thread

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 ???

 « Return to Thread: Velocity removes a newline after a macro call