# 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 );
$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() );
}