From 25e285f0afc21251c952b233d38a74a0b643ec32 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 1 Jun 2006 08:24:22 +0000 Subject: [PATCH] Fix regression with unclosed extension tags. Behavior is still silly (PST adds an end tag) but matches prior behavior until fix is made. --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 2bfa48273c..9ff3e8517a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -376,7 +376,7 @@ class Parser $content = $q[0]; if( count( $q ) < 2 ) { # No end tag -- let it run out to the end of the text. - break; + $text = ''; } else { $text = $q[1]; } -- 2.20.1