From: Ævar Arnfjörð Bjarmason Date: Sun, 10 Jul 2005 22:38:53 +0000 (+0000) Subject: * Replace spaces with - in the XHTML id for the sidebar X-Git-Tag: 1.5.0beta4~168 X-Git-Url: https://git.cyclocoop.org/admin/%7B%7Blocalurl:Special:UserLogin%7D%7D?a=commitdiff_plain;h=b78b068254c3744f7692281e30f456c583c9daff;p=lhc%2Fweb%2Fwiklou.git * Replace spaces with - in the XHTML id for the sidebar --- diff --git a/includes/Skin.php b/includes/Skin.php index 5ef9dce42c..458a7a2d2a 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1309,7 +1309,7 @@ END; $bar[$heading][] = array( 'text' => wfMsg( $line[1] ), 'href' => $this->makeInternalOrExternalUrl( $link ), - 'id' => 'n-' . $line[1], + 'id' => 'n-' . strtr($line[1], ' ', '-'), ); } else { continue; } }