Quote:
Originally Posted by Digital Jedi
Wouldn't this as a custom BBCode essential do the same thing:
Code:
<div style="white-space: pre;width:300px; overflow:scroll"><code>{param}</code></div>
|
Unfortunately not, vBulletin still adds a <br> for every new line. As a result the browser makes a newline for every <br> AND every newline in <code>
This is why I need to hard code it in vBulletin so I can override the nl2br part of the bbcode