dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99af84e
)
this should prevent the parser from inserting <p> tags around the second line of...
author
Steve Sanbeg
<sanbeg@users.mediawiki.org>
Thu, 20 Nov 2008 20:50:12 +0000
(20:50 +0000)
committer
Steve Sanbeg
<sanbeg@users.mediawiki.org>
Thu, 20 Nov 2008 20:50:12 +0000
(20:50 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
fe016a8
..
881d19a
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-2211,7
+2211,7
@@
class Parser
$output .= $paragraphStack;
$paragraphStack = false;
$this->mLastSection = 'p';
- } else if ($this->mLastSection !== 'p') {
+ } else if ($this->mLastSection !== 'p'
and $this->mLastSection !== ''
) {
$output .= $this->closeParagraph().'<p>';
$this->mLastSection = 'p';
}