From: Gabriel Wicke Date: Mon, 24 May 2004 10:25:49 +0000 (+0000) Subject: pre handling fix X-Git-Tag: 1.5.0alpha1~3212 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=bd2fd09422703c30bd06402bce226512a85f629b;p=lhc%2Fweb%2Fwiklou.git pre handling fix --- diff --git a/includes/Parser.php b/includes/Parser.php index 09026de03d..bfaf90093c 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1263,7 +1263,7 @@ class Parser } else { $inBlockElem = true; } - } else if ( !$inBlockElem ) { + } else if ( !$inBlockElem && !$this->mInPre ) { if ( " " == $t{0} and trim($t) != '' ) { // pre if ($this->mLastSection != 'pre') {