diff --git a/lib/editor/htmlarea.php b/lib/editor/htmlarea.php index 1bbab7cc9b1..cf0429d9bda 100644 --- a/lib/editor/htmlarea.php +++ b/lib/editor/htmlarea.php @@ -665,8 +665,7 @@ HTMLArea.prototype.generate = function () { html += '\n"; html += "\n"; html += '
\n'; - // See bug #2222 - html += (editor._textArea.value != null && editor._textArea.value != '') ? editor._textArea.value : ''; + html += editor._textArea.value; html = html.replace(/