The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
No, I do not believe there is a way to do that.
|
#3
|
|||
|
|||
I'm an idiot for not thinking of this before:
Just "remove" the line breaks. pre.someClass br { display: none; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|