[pre class="brush: python"]
print('hello world')
print("test")
[/pre]
To keep changelog.
I commented that entire if condition out. It appears to have worked. Im not sure of any unwanted side effects that might of caused (if any)
print('hello world')
print("test")
[/pre]
To keep changelog.
I commented that entire if condition out. It appears to have worked. Im not sure of any unwanted side effects that might of caused (if any)
//if(!isset($this->options['nl2br']) || $this->options['nl2br'] != 0) //{ // $message = nl2br($message); // Fix up new lines and block level elements // $message = preg_replace("#(</?(?: html|head|body|div|p|form|table|thead|tbody|tfoot|tr|td|th|ul|ol|li|div|p|blockquote|cite|hr)[^>]*>)\s* <br />#i", "$1", $message); // $message = preg_replace("#( )+(</?(?: html|head|body|div|p|form|table|thead|tbody|tfoot|tr|td|th|ul|ol|li|div|p|blockquote|cite|hr)[^>]*>)#i", "$2", $message); //}EDIT: I get it, then you lose ALL newlines. Ill revert back for the time being
Recommended Tutorials: