Index: trunk/phase3/includes/Parser.php |
— | — | @@ -2531,7 +2531,7 @@ |
2532 | 2532 | # The canonized header is a version of the header text safe to use for links |
2533 | 2533 | # Avoid insertion of weird stuff like <math> by expanding the relevant sections |
2534 | 2534 | $canonized_headline = $this->unstrip( $headline, $this->mStripState ); |
2535 | | - $canonized_headline = $this->unstripNoWiki( $headline, $this->mStripState ); |
| 2535 | + $canonized_headline = $this->unstripNoWiki( $canonized_headline, $this->mStripState ); |
2536 | 2536 | |
2537 | 2537 | # Remove link placeholders by the link text. |
2538 | 2538 | # <!--LINK number--> |