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:
048d9c3
)
allow pre's in lists, report by rizzo and mhnoyes
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 14 Jul 2004 18:38:28 +0000
(18:38 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 14 Jul 2004 18:38:28 +0000
(18:38 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
4e0913b
..
0247134
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1264,7
+1264,7
@@
class Parser
if (!$this->mInPre) {
$this->mInPre = !empty($preOpenMatch);
}
- if ( !$this->mInPre ) {
+ if (
$preOpenMatch ||
!$this->mInPre ) {
# Multiple prefixes may abut each other for nested lists.
$prefixLength = strspn( $oLine, '*#:;' );
$pref = substr( $oLine, 0, $prefixLength );