Fix a bug I closed without checking and I cant find right now :(

Basicly creating an internal link with a <nowiki> thing generate bad link in the database (using a NaodW29). I used the unstrip function of parser.php to remove that from the text before it is send to the internal link handler. Seems to fix things quite well
This commit is contained in:
Antoine Musso 2004-04-07 13:44:14 +00:00
parent d35743a6aa
commit 93b85a43d3

View file

@ -675,7 +675,8 @@ class Parser
$nextToken = $tokenizer->nextToken();
$txt .= $nextToken["text"];
}
$txt = $this->handleInternalLink( $txt, $prefix );
$fakestate = $this->mStripState;
$txt = $this->handleInternalLink( $this->unstrip($txt,$fakestate), $prefix );
# did the tag start with 3 [ ?
if($threeopen) {