From: skodak Date: Tue, 29 Aug 2006 20:38:23 +0000 (+0000) Subject: better handling of anchor name in docs index SC#306 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5e0ff187c7ae6adaafcc3f59fb6018647d523d6c;p=moodle.git better handling of anchor name in docs index SC#306 --- diff --git a/doc/index.php b/doc/index.php index face5c80de..b4cb0f0836 100644 --- a/doc/index.php +++ b/doc/index.php @@ -11,7 +11,7 @@ } if (!empty($sub)) { - $sub = "#$sub"; + $sub = '#'.s($sub); } else { $sub = ""; }