![]() |
Without hacking, is there a way to stop vB from applying nl2br() on my text?
I created custom BBCode for console output ([CLI][/CLI]).
However, the newlines are converted to <br /> which wouldn't pose a problem except that the division which holds the text inside the [CLI] tags has "whitespace: pre" applied to it so tabs and such are preserved. This means that all newlines are "double lines" because of the initial newline plus the <br />. Without hacking the source, is there a way to stop the conversion of nl2br()? Thanks in advance. |
No, I do not believe there is a way to do that.
|
I'm an idiot for not thinking of this before:
Just "remove" the line breaks. pre.someClass br { display: none; } |
All times are GMT. The time now is 03:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|