diff --git a/lib/form/htmleditor.php b/lib/form/htmleditor.php
index 22e39f6e0f7..f92855eaf86 100644
--- a/lib/form/htmleditor.php
+++ b/lib/form/htmleditor.php
@@ -69,7 +69,7 @@ class MoodleQuickForm_htmleditor extends MoodleQuickForm_textarea{
return $this->getFrozenHtml();
} else {
return $this->_getTabs() .
- ''."\n".
+ ''."\n".
print_textarea($this->_canUseHtmlEditor,
$this->_options['rows'],
$this->_options['cols'],