BUG#463 Strip first leading blank from preformatted text in output
authorJens Frank <jeluf@users.mediawiki.org>
Sun, 12 Sep 2004 13:07:52 +0000 (13:07 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Sun, 12 Sep 2004 13:07:52 +0000 (13:07 +0000)
includes/Parser.php

index 3482001..6b7bb46 100644 (file)
@@ -1326,6 +1326,7 @@ class Parser
                                                        $output .= $this->closeParagraph().'<pre>';
                                                        $this->mLastSection = 'pre';
                                                }
+                                               $t = substr( $t, 1 );
                                        } else {
                                                // paragraph
                                                if ( '' == trim($t) ) {