This issue of swiki formatting keeps coming up... :)

I want to change the swiki formatting so that it doesn't add a <br> after
every text line ending.  Instead, I want to only add a <br> if there is
a blank line.  Actually, ideally, I want to put a <p> after a blank line
to mark the beginning of a paragraph.

This is meant to emulate 'email conventions'--  a blank line marks the end
of a paragraph.  I want the web browser to be able to wrap paragraphs,
even if the user pastes them in with line breaks.

If I change IdFormatter class>>text: and remove the <br> there, I get rid
of the <br> after each text line.  But how can I insert a <br> or a <p>
when the formatter encounters an all-whitespace line?

And the advanced question is, how might I make this a configurable option?
However, I think I know how to do that...

Thanks,

-Eric

Reply via email to