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:
+1
-1
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user