From e30390b38f1db4cb20b7fe9d1e23781e7b7f9537 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Wed, 2 Jun 2004 02:42:13 +0000 Subject: [PATCH] performance fix --- includes/Parser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index b59bb61707..41159cf492 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1024,8 +1024,9 @@ class Parser $lastPrefixLength = strlen( $lastPrefix ); $preOpenMatch = preg_match("/
/", $oLine );
+			if($nowikiOpenMatch) $nowikiFullMatch = preg_match("/^(.*)mInPre) {
 				$this->mInPre = !empty($preOpenMatch);
 			}
-- 
2.20.1