]> git.mjollnir.org Git - moodle.git/commitdiff
better handling of anchor name in docs index SC#306
authorskodak <skodak>
Tue, 29 Aug 2006 20:38:23 +0000 (20:38 +0000)
committerskodak <skodak>
Tue, 29 Aug 2006 20:38:23 +0000 (20:38 +0000)
doc/index.php

index face5c80de07be9f61f409654f69cecc993771f9..b4cb0f0836c794a6ad45f775073819ac7723a4aa 100644 (file)
@@ -11,7 +11,7 @@
     }
 
     if (!empty($sub)) {
-        $sub = "#$sub";
+        $sub = '#'.s($sub);
     } else {
         $sub = "";
     }