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:
383c33b
)
allow blank lines in preformatted text started by blanks. BUG #993991
author
Jens Frank
<jeluf@users.mediawiki.org>
Mon, 19 Jul 2004 19:03:43 +0000
(19:03 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Mon, 19 Jul 2004 19:03:43 +0000
(19:03 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
5ee3778
..
bcaf49f
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1344,7
+1344,7
@@
class Parser
$inBlockElem = true;
}
} else if ( !$inBlockElem && !$this->mInPre ) {
- if ( " " == $t{0} and
trim($t) != ''
) {
+ if ( " " == $t{0} and
( $this->mLastSection == 'pre' or trim($t) != '' )
) {
// pre
if ($this->mLastSection != 'pre') {
$paragraphStack = false;