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?
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.
0
This discussion has been closed.
Comments