From ef2acad51463af9cb885b4f3ec9362a7c764561e Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Wed, 4 Aug 2004 19:59:04 +0000 Subject: [PATCH] fixing several bugs at once, or creating new ones? --- includes/Parser.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index c854adf3bc..c25acecadc 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -821,6 +821,7 @@ class Parser $text = $this->removeHTMLtags( $text ); $text = $this->replaceVariables( $text, $args ); + print $text; $text = preg_replace( '/(^|\n)-----*/', '\\1
', $text ); @@ -1758,7 +1759,9 @@ class Parser $this->mTemplatePath[$part1] = 1; # Run full parser on the included text - $text = $this->stripParse( $text, $newline, $assocArgs ); + $text = $this->internalParse( $text, $newline, $assocArgs ); + # I replaced the line below with the line above, as it former seems to cause several bugs + #$text = $this->stripParse( $text, $newline, $assocArgs ); # Resume the link cache and register the inclusion as a link if ( !is_null( $title ) ) { -- 2.20.1