fixed section anchors
authorGabriel Wicke <gwicke@users.mediawiki.org>
Tue, 23 Mar 2004 11:37:15 +0000 (11:37 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Tue, 23 Mar 2004 11:37:15 +0000 (11:37 +0000)
includes/Parser.php

index a1fb01f..186a3b2 100644 (file)
@@ -1494,7 +1494,7 @@ class Parser
                                            . "<a name=\"$anchor\" " . $headlinematches[2];
                        } else {
                                # else create an anchor link for the headline
-                               $headline = "<a name=\"$anchor.\">$headline</a>";
+                               $headline = "<a name=\"$anchor\">$headline</a>";
                        }
                                
                        # give headline the correct <h#> tag