velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Torres <alexandre.tor...@gmail.com>
Subject Avoiding Line Breaks in macros
Date Thu, 14 Oct 2004 21:51:47 GMT
Hi.
It is possible to avoid line break generation when calling a macro?
for example:
#macro (duh)
John
#end
...
after the joke #daa() said duh.
...
This will generate:

after the joke John             <---line break
said duh.

I'm trying to generate no HTML content, so, it will be important to
control line break and space generation. I took a look in the docs,
but can't find much about this.
Should I use classes instead of macros (well, macros are much better in my case)

I 'm a little bit lost in this line break generation with #comands
too, I did search in the past messages but it's hard to find
information (or I'm too newbie in velocity).

Thanks for any tip.

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


Mime
View raw message