undo 43772; there seems to be various special behavior hacked onto <div>, some of...
authorSteve Sanbeg <sanbeg@users.mediawiki.org>
Thu, 20 Nov 2008 23:55:38 +0000 (23:55 +0000)
committerSteve Sanbeg <sanbeg@users.mediawiki.org>
Thu, 20 Nov 2008 23:55:38 +0000 (23:55 +0000)
includes/parser/Parser.php

index 881d19a..fe016a8 100644 (file)
@@ -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().'<p>';
                                                                $this->mLastSection = 'p';
                                                        }