From 4a313905bc2f572d5639fcd34c25cbf84e6f5fd2 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Tue, 27 Sep 2011 14:04:37 +0800 Subject: [PATCH] MDL-29539 HTML Editor: Fixed XHTML formatting for editor --- lib/form/editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/form/editor.php b/lib/form/editor.php index 2cb5e06bca3..3832b5000c2 100644 --- a/lib/form/editor.php +++ b/lib/form/editor.php @@ -230,7 +230,7 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element { //Apply editor validation if required field $editorrules = ''; if (!is_null($this->getAttribute('onblur')) && !is_null($this->getAttribute('onchange'))) { - $editorrules = 'onblur="'.htmlspecialchars($this->getAttribute('onblur')).'" onchange="'.htmlspecialchars($this->getAttribute('onchange')).'"'; + $editorrules = ' onblur="'.htmlspecialchars($this->getAttribute('onblur')).'" onchange="'.htmlspecialchars($this->getAttribute('onchange')).'"'; } $str .= '