From d42c91a23cf7c59a3cc1cc88438d087ca0d8bf6b Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sat, 18 Sep 2004 23:14:07 +0000 Subject: [PATCH] BUG#93 Fix handling of in templates --- includes/Parser.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() ); } -- 2.20.1