From: Magnus Manske Date: Wed, 4 Aug 2004 19:59:04 +0000 (+0000) Subject: fixing several bugs at once, or creating new ones? X-Git-Tag: 1.5.0alpha1~2518 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=ef2acad51463af9cb885b4f3ec9362a7c764561e;p=lhc%2Fweb%2Fwiklou.git fixing several bugs at once, or creating new ones? --- 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 ) ) {