PDA

View Full Version : nonl2br BBCode tag



RS_Jelle
Wed 23rd Aug '06, 7:17am
I think it would be very useful to have a tag to wrap around things. New line to br is very irritating when you want to create for example a table with HTML (I know you can create custom BBCode for it) and a lot of other things.

Judge it yourself :p

<table><thead><tr><td>title</td></tr></thead><tbody><tr><td>test 1</td><td>test 2</td></tr></tbody></table>
Or ...

[nonl2br]
<table>
<thead>
<tr>
<td>title</td>
</tr>
</thead>
<tbody>
<tr>
<td>test 1</td>
<td>test 2</td>
</tr>
</tbody>
</table>

Messages can be much easier to read with it :)

There is a noparse tag, so why not a nonl2br tag? :D

Colin F
Wed 23rd Aug '06, 7:47am
I don't get it. The bottom way is how it's displayed by default?

Mike Sullivan
Wed 23rd Aug '06, 7:50am
He's referring to when HTML is on and that would render (try the latter and you'll see).

antialiasis
Wed 23rd Aug '06, 1:50pm
I support this. Even if you make table BBCodes, logic tells me that this will still be a problem if you space out your tags to be more readable in code.