From: Arlo Breault Date: Wed, 6 Mar 2019 21:49:07 +0000 (-0500) Subject: parser: closeParagraph already resets the lastSection X-Git-Tag: 1.34.0-rc.0~2545 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=fe3a04748bfa37a43872b8fff83565d37074807f;p=lhc%2Fweb%2Fwiklou.git parser: closeParagraph already resets the lastSection Change-Id: Ic24c9aa25852cc786a5ca438c2c1e9031f9e7c17 --- diff --git a/includes/parser/BlockLevelPass.php b/includes/parser/BlockLevelPass.php index a69b3d2a5a..288a52704e 100644 --- a/includes/parser/BlockLevelPass.php +++ b/includes/parser/BlockLevelPass.php @@ -357,7 +357,6 @@ class BlockLevelPass { if ( $pendingPTag ) { $output .= $this->closeParagraph(); $pendingPTag = false; - $this->lastSection = ''; } } else { # paragraph @@ -369,7 +368,6 @@ class BlockLevelPass { } else { if ( $this->lastSection !== 'p' ) { $output .= $this->closeParagraph(); - $this->lastSection = ''; $pendingPTag = '

'; } else { $pendingPTag = '

';