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:
parent
d35743a6aa
commit
93b85a43d3
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue