From 2429d63748a96ccc5a726a2837d54d20fc174d7f Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sun, 12 Sep 2004 13:07:52 +0000 Subject: [PATCH] BUG#463 Strip first leading blank from preformatted text in output --- includes/Parser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Parser.php b/includes/Parser.php index 34820010d9..6b7bb4698b 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1326,6 +1326,7 @@ class Parser $output .= $this->closeParagraph().'
';
 							$this->mLastSection = 'pre';
 						}
+						$t = substr( $t, 1 );
 					} else {
 						// paragraph
 						if ( '' == trim($t) ) {
-- 
2.20.1