From e70fd13f804af9b091d3675157693587a473cfb1 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 4 Mar 2007 16:11:25 +0000 Subject: [PATCH] Introducing broken changes in commits meant to fix broken changes is vaguely ironic. --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index 26e532c42c..14d45bd3de 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4562,7 +4562,7 @@ class Parser .+? # Section title... \\2 # Ending = count must match start (?:$comment|<\/?noinclude>|[ \\t]+)* # Trailing whitespace ok - \n? + $ | .*? @@ -4721,7 +4721,7 @@ class OnlyIncludeReplacer { if ( substr( $matches[1], -1 ) == "\n" ) { $this->output .= substr( $matches[1], 0, -1 ); } else { - $this->output .= $matche s[1]; + $this->output .= $matches[1]; } } } -- 2.20.1