From b78b068254c3744f7692281e30f456c583c9daff Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sun, 10 Jul 2005 22:38:53 +0000 Subject: [PATCH] * Replace spaces with - in the XHTML id for the sidebar --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.20.1