From 1b2a2a7fb7a6996191ad3b7d7bff158d3ac83894 Mon Sep 17 00:00:00 2001 From: farr3ll Date: Mon, 3 Dec 2012 02:32:20 +0200 Subject: [PATCH] Issue #24 revision 2 --- e107_handlers/bbcode_handler.php | 11 +++++++++-- e107_handlers/form_handler.php | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) 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; }