From dc42b3eca3a059399c785aa3b2fb8981c465d855 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Sat, 12 Mar 2011 11:01:07 +0000 Subject: [PATCH] Bugfix: Corrected line-break issue --- e107_plugins/tinymce/wysiwyg.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/e107_plugins/tinymce/wysiwyg.php b/e107_plugins/tinymce/wysiwyg.php index 7f575e3af..8e8a1a6bd 100644 --- a/e107_plugins/tinymce/wysiwyg.php +++ b/e107_plugins/tinymce/wysiwyg.php @@ -186,7 +186,11 @@ class wysiwyg tinyMCE.init({ \n\n"; foreach($this->config as $key=>$val) - { + { + if($val != 'true' && $val !='false') + { + $val = "'".$val."'"; + } $text .= "\t\t ".$key." : '".$val."',\n"; } /*