]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8185: Added an extra \n to use_html_editor to make it happy in wiki editing ...
authorsam_marshall <sam_marshall>
Mon, 15 Jan 2007 17:45:47 +0000 (17:45 +0000)
committersam_marshall <sam_marshall>
Mon, 15 Jan 2007 17:45:47 +0000 (17:45 +0000)
lib/weblib.php

index ef0a578d1f7f014b5371b75998bb2d1d10ec045e..08d4dea6a30031c23f9a3f1c7a0d52e3c9a6b9a0 100644 (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";