From: Jens Frank Date: Sat, 18 Sep 2004 23:14:07 +0000 (+0000) Subject: BUG#93 Fix handling of in templates X-Git-Tag: 1.5.0alpha1~1962 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=d42c91a23cf7c59a3cc1cc88438d087ca0d8bf6b;p=lhc%2Fweb%2Fwiklou.git BUG#93 Fix handling of in templates --- diff --git a/includes/Parser.php b/includes/Parser.php index 6af5994d46..346487e75d 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1695,6 +1695,7 @@ class Parser # Add a new element to the templace recursion path $this->mTemplatePath[$part1] = 1; + $text = $this->strip( $text, $this->mStripState ); $text = $this->removeHTMLtags( $text ); $text = $this->replaceVariables( $text, $assocArgs ); @@ -1722,7 +1723,8 @@ class Parser $inputArgs = end( $this->mArgStack ); if ( array_key_exists( $arg, $inputArgs ) ) { - $text = $this->removeHTMLtags( $inputArgs[$arg] ); + $text = $this->strip( $inputArgs[$arg], $this->mStripState ); + $text = $this->removeHTMLtags( $text ); $text = $this->replaceVariables( $text, array() ); }