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:
57c31ad
)
don't create a pre for a whitespace-only line
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Fri, 14 May 2004 22:09:33 +0000
(22:09 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Fri, 14 May 2004 22:09:33 +0000
(22:09 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
0fcf83f
..
e292278
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1256,7
+1256,7
@@
class Parser
$inBlockElem = true;
}
} else if ( !$inBlockElem ) {
- if ( " " == $t{0} ) {
+ if ( " " == $t{0}
and trim($t) != ''
) {
// pre
if ($this->mLastSection != 'pre') {
$paragraphStack = false;