pre area no longer cut in pieces
authorGabriel Wicke <gwicke@users.mediawiki.org>
Sat, 10 Apr 2004 03:05:11 +0000 (03:05 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Sat, 10 Apr 2004 03:05:11 +0000 (03:05 +0000)
includes/Parser.php

index f120ef6..5ba1201 100644 (file)
@@ -1118,7 +1118,7 @@ class Parser
                                                        } else {
                                                                $t = '';
                                                        }
-                                               } else if ($this->mLastSection != $newSection or $newSection != 'p') {
+                                               } else if ($this->mLastSection != $newSection) {
                                                        $text .= $this->closeParagraph();
                                                        $text .= "<" . $newSection . ">";
                                                        $this->mLastSection = $newSection;