|
From: Jon O. <jon...@us...> - 2007-05-11 21:09:30
|
Update of /cvsroot/mxbb/core/includes
In directory sc8-pr-cvs16:/tmp/cvs-serv13090
Modified Files:
mx_functions_tools.php
Log Message:
Fix for html blocks
Index: mx_functions_tools.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions_tools.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** mx_functions_tools.php 7 May 2007 19:25:12 -0000 1.12
--- mx_functions_tools.php 11 May 2007 21:09:18 -0000 1.13
***************
*** 186,190 ****
if ( $text != '' )
{
! $text = str_replace("\n", "\n<br />\n", $text);
}
--- 186,193 ----
if ( $text != '' )
{
! if ( !($this->html_on && !$this->bbcode_on) ) // If this is not a html textblock
! {
! $text = str_replace("\n", "\n<br />\n", $text);
! }
}
|