Parsing comments differently?

tbrtbr
edited May 2007 in Vanilla 1.0 Help
For styling and javascript reasons I need to parse all comments differently from the standards (assuming this forum uses the standard parsing). I don't want any <br />s, but rather must convert all sequences of line breaks to new p elements. The whole comment must also be wrapped in an extra div. How can I do this as easily as possible? Thanks. EDIT: Come to think of it, I actually want to allow one line break to become a <br />, but two or more should generate a proper paragraph.

Comments

  • Oh, yes! Thanks! Actually, I even think that might be enough, I don't really need that extra div, I just have to adapt some things in my javascripts. The rest of what I need should be possible to do with css. Thank you. :)
This discussion has been closed.