BUG#463 Strip first leading blank from preformatted text in output

This commit is contained in:
Jens Frank 2004-09-12 13:07:52 +00:00
parent 6671b7e2bb
commit 2429d63748

View file

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