UBB.Dev
Posted By: DMagic [ CODE ] Aint cutting it.. (Rather is) - 04/11/2002 2:55 AM
Ugh! I love you all **twirl** :-0

For some reason, on my boards, the [ CODE ] flag is not doing its job completly. It is ignoring hard returns.

IE:
[code][/code]My pages use code alot, and this is actually kinda bad... Anyone have any ideas for a fix?
Newlines and whitespace before and after the first last characters in the code tags are truncated - this is by design.

Dive into the ProcessCodeTag subroutine and its friends in ubb_lib_posting to change this...
© UBB.Developers