* Forgot to remove this line in the last commit, breaking the parser...
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sat, 7 Jan 2006 09:19:38 +0000 (09:19 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sat, 7 Jan 2006 09:19:38 +0000 (09:19 +0000)
includes/Parser.php

index 629d3ca..e03b348 100644 (file)
@@ -2898,7 +2898,6 @@ class Parser
                        $canonized_headline = preg_replace( '/<.*?' . '>/','',$canonized_headline );
                        $tocline = trim( $canonized_headline );
                        $canonized_headline = Sanitizer::escapeId( $tocline );
-                       $canonized_headline = str_replace(array_keys($replacearray),array_values($replacearray),$canonized_headline);
                        $refers[$headlineCount] = $canonized_headline;
 
                        # count how many in assoc. array so we can track dupes in anchors