diff --git a/e107_handlers/bbcode_handler.php b/e107_handlers/bbcode_handler.php index b91f9ce04..bc6e19da5 100644 --- a/e107_handlers/bbcode_handler.php +++ b/e107_handlers/bbcode_handler.php @@ -570,7 +570,7 @@ class e_bbcode // $text = preg_replace('/(.*?)<\/span>/i',"[color=$1]$2[/color]",$text); $text = preg_replace('//i', "[table $1]",$text); - $text = preg_replace('//i', "[tbody]",$text); $text = preg_replace('/'), // array( "\n", '

'), + array( "[/p]\n", "

\n"), + array( "[/p]\n", "

"), array( "[/list]", '\n'), array( "[/list]", ''), + array( "[/list]", '\n'), + array( "[/list]", ''), array( "[h=2]", '

'), // e107 bbcode markup array( "[h=2]", '

'), array( "[/h]", '

'), @@ -636,7 +643,7 @@ class e_bbcode } - $blank = array('','width:px;height:px;',"

","

"); + $blank = array('','width:px;height:px;'); $text = str_replace($blank,"",$text); // Cleanup return str_replace($srch,$repl,$text); diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index bb5e360dd..4140f0e10 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -833,7 +833,7 @@ class e_form default: $rows = '15'; $size = 'large'; - $height = "style='height:500px'"; // inline required for wysiwyg + $height = "style='height:500px;width:1025px'"; // inline required for wysiwyg break; }