RemexCompatMunger: Don't call endTag() in case B/b
[lhc/web/wiklou.git] / includes / tidy / RemexCompatMunger.php
index ab2ba46..e6351e2 100644 (file)
@@ -262,7 +262,6 @@ class RemexCompatMunger implements TreeHandler {
                        $pElement = $parentData->childPElement;
                        $parentData->childPElement = null;
                        $newRef = $refElement->userData;
-                       $this->endTag( $pElement, $sourceStart, 0 );
                } elseif ( $under && $parentData->isSplittable
                        && (bool)$parentData->ancestorPNode !== $inline
                ) {