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:
25c8641
)
doBlockLevels after unstrip to avoid wrapping templates in p's (which is often invalid)
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Mon, 12 Apr 2004 18:49:55 +0000
(18:49 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Mon, 12 Apr 2004 18:49:55 +0000
(18:49 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
5594f9e
..
7ba1096
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-92,8
+92,8
@@
class Parser
$text = $this->strip( $text, $this->mStripState );
$text = $this->internalParse( $text, $linestart );
# only once and next-to-last
- $text = $this->doBlockLevels( $text, $linestart );
$text = $this->unstrip( $text, $this->mStripState );
+ $text = $this->doBlockLevels( $text, $linestart );
# Clean up special characters, only run once and last
$fixtags = array(
"/<hr *>/i" => '<hr/>',