From: Gabriel Wicke Date: Wed, 14 Jul 2004 18:38:28 +0000 (+0000) Subject: allow pre's in lists, report by rizzo and mhnoyes X-Git-Tag: 1.5.0alpha1~2678 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=c3a00f5a65288709807b85d0ee03f838dcc65618;p=lhc%2Fweb%2Fwiklou.git allow pre's in lists, report by rizzo and mhnoyes --- diff --git a/includes/Parser.php b/includes/Parser.php index 4e0913b640..0247134c53 100644 --- 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 );