From: Jens Frank Date: Sun, 12 Sep 2004 13:07:52 +0000 (+0000) Subject: BUG#463 Strip first leading blank from preformatted text in output X-Git-Tag: 1.5.0alpha1~2016 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=2429d63748a96ccc5a726a2837d54d20fc174d7f;p=lhc%2Fweb%2Fwiklou.git BUG#463 Strip first leading blank from preformatted text in output --- 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) ) {