Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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.