From c3a00f5a65288709807b85d0ee03f838dcc65618 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Wed, 14 Jul 2004 18:38:28 +0000 Subject: [PATCH] allow pre's in lists, report by rizzo and mhnoyes --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1