]> git.mjollnir.org Git - moodle.git/commitdiff
if you use \n in single-quoted strings it will not be converted to a line break.
authorgustav_delius <gustav_delius>
Thu, 13 Jan 2005 17:53:23 +0000 (17:53 +0000)
committergustav_delius <gustav_delius>
Thu, 13 Jan 2005 17:53:23 +0000 (17:53 +0000)
lib/javascript.php

index 7bf4a83c831f5b6cce9bbf19a1eef25ae5beb995..d4dd36c6fc91f027b8aeda321b792b224cfbf164 100644 (file)
@@ -6,7 +6,7 @@
     }
 
     if(!empty($CFG->aspellpath)) {      // Enable global access to spelling feature.
-        echo '<script src="'.$CFG->wwwroot.'/lib/speller/spellChecker.js"></script>\n';
+        echo '<script src="'.$CFG->wwwroot.'/lib/speller/spellChecker.js"></script>'."\n";
     }
 ?>
 <script language="JavaScript" type="text/javascript" src="<?php echo $CFG->wwwroot ?>/lib/overlib.js"></script>