From d0229d46bf78f38007608dc4f1d664225537e23e Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Sat, 10 Apr 2004 06:50:49 +0000 Subject: [PATCH] fix paragraphs again --- includes/Parser.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index 548f8ff1a1..b5f61935dd 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1113,15 +1113,7 @@ class Parser } } else { $newSection = "p"; - if ( '' == trim($t) ) { - if ( '' == trim($lastLine) ) { - $text .= $this->closeParagraph(); - $text .= "<" . $newSection . ">
"; - $this->mLastSection = $newSection; - } else { - $t = ''; - } - } else if ($this->mLastSection != $newSection) { + if ( ''==trim($t) && ( '' != trim($lastLine) )) { $text .= $this->closeParagraph(); $text .= "<" . $newSection . ">"; $this->mLastSection = $newSection; -- 2.20.1