From: Steve Sanbeg Date: Thu, 20 Nov 2008 23:55:38 +0000 (+0000) Subject: undo 43772; there seems to be various special behavior hacked onto
, some of... X-Git-Tag: 1.31.0-rc.0~44246 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=5ec8bddd1015c32294c6dba3daea1734fb8a4542;p=lhc%2Fweb%2Fwiklou.git undo 43772; there seems to be various special behavior hacked onto
, some of which may be intentional --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 881d19ab4e..fe016a8412 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -2211,7 +2211,7 @@ class Parser $output .= $paragraphStack; $paragraphStack = false; $this->mLastSection = 'p'; - } else if ($this->mLastSection !== 'p' and $this->mLastSection !== '') { + } else if ($this->mLastSection !== 'p') { $output .= $this->closeParagraph().'

'; $this->mLastSection = 'p'; }