dirty hack to work around the one-space-at-beginning-required problem
authorGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 5 Apr 2004 11:41:41 +0000 (11:41 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 5 Apr 2004 11:41:41 +0000 (11:41 +0000)
includes/Parser.php

index fa5aa38..f2ec333 100644 (file)
@@ -426,7 +426,7 @@ class Parser
                        $text = $wgDateFormatter->reformat( $this->mOptions->getDateFormat(), $text );
                }
 
-               $text = $this->replaceExternalLinks( $text );
+               $text = ' '.$this->replaceExternalLinks( $text );
                $text = $this->doTokenizedParser ( $text );
                $text = $this->doTableStuff ( $text ) ;