nick1presta
04-29-2007, 09:10 PM
I created custom BBCode for console output ().
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.
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.