MDL-8185: Added an extra \n to use_html_editor to make it happy in wiki editing (doesn't do any harm elsewhere)

This commit is contained in:
sam_marshall
2007-01-15 17:45:47 +00:00
parent 2cf02a3935
commit ca360e834b
+1 -1
View File
@@ -3755,7 +3755,7 @@ function use_html_editor($name='', $editorhidebuttons='', $id='') {
$id = 'edit-'.$name;
}
echo "\n".'<script type="text/javascript" defer="defer">'."\n";
echo '//<![CDATA['."\n";
echo '//<![CDATA['."\n\n"; // Extra \n is to fix odd wiki problem, MDL-8185
echo "$editor = new HTMLArea('$id');\n";
echo "var config = $editor.config;\n";