X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fparser%2FBlockLevelPass.php;h=288a52704e214713ab5ff0fdc86b4df4a496a459;hb=6c1cfca4c3536e05008e51f5754900574c36adb4;hp=a69b3d2a5a3e0dbd2582eefbe46ffa399c358a30;hpb=9ef78ab4c18ccb352043b87f371cc0a642f0166c;p=lhc%2Fweb%2Fwiklou.git 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 = '

';