The normal way to do this would be in a page plugin (Java code).

The supplied Textile formatter plugin does this (and a lot more --which may be 
too much).

There is a plugin(org.roller.presentation.velocity.plugins.convertbreaks.ConvertLineBreaksPlugin) that apparently does just line-break (and paragraphs for consecutive lines) in the current trunk. I think it made the Roller 1.2 release, but not sure; it appears not to be configured by default. One has to add it to the plugins.page list in roller.properties in order to see it in the list in the Website settings page.

--a.


----- Original Message ----- From: "Matthew MacGibbon" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, August 21, 2005 12:36 PM
Subject: Re: Roller, dumb question about template vs. java code


Sorry, this should have been a new message, ignore the postgress stuff (I
was using a reply to send a message)

Another dumb question:

I want to convert newlines to <BR>s and I was trying to figure out if this
needs to be done in the java or if this can be done in a template, and if it
can, could someone point me out to where to go?


Reply via email to