Index: trunk/phase3/includes/Parser.php |
— | — | @@ -1695,6 +1695,7 @@ |
1696 | 1696 | # Add a new element to the templace recursion path |
1697 | 1697 | $this->mTemplatePath[$part1] = 1; |
1698 | 1698 | |
| 1699 | + $text = $this->strip( $text, $this->mStripState ); |
1699 | 1700 | $text = $this->removeHTMLtags( $text ); |
1700 | 1701 | $text = $this->replaceVariables( $text, $assocArgs ); |
1701 | 1702 | |
— | — | @@ -1722,7 +1723,8 @@ |
1723 | 1724 | $inputArgs = end( $this->mArgStack ); |
1724 | 1725 | |
1725 | 1726 | if ( array_key_exists( $arg, $inputArgs ) ) { |
1726 | | - $text = $this->removeHTMLtags( $inputArgs[$arg] ); |
| 1727 | + $text = $this->strip( $inputArgs[$arg], $this->mStripState ); |
| 1728 | + $text = $this->removeHTMLtags( $text ); |
1727 | 1729 | $text = $this->replaceVariables( $text, array() ); |
1728 | 1730 | } |
1729 | 1731 | |