Index: branches/REL1_3/phase3/includes/Parser.php |
— | — | @@ -1821,6 +1821,7 @@ |
1822 | 1822 | } |
1823 | 1823 | |
1824 | 1824 | # Run full parser on the included text |
| 1825 | + $text = $this->strip( $text, $this->mStripState ); |
1825 | 1826 | $text = $this->removeHTMLtags( $text ); |
1826 | 1827 | $text = $this->replaceVariables( $text, $assocArgs ); |
1827 | 1828 | |
— | — | @@ -1845,7 +1846,8 @@ |
1846 | 1847 | $inputArgs = end( $this->mArgStack ); |
1847 | 1848 | |
1848 | 1849 | if ( array_key_exists( $arg, $inputArgs ) ) { |
1849 | | - $text = $this->removeHTMLtags( $inputArgs[$arg] ); |
| 1850 | + $text = $this->strip( $inputArgs[$arg], $this->mStripState ); |
| 1851 | + $text = $this->removeHTMLtags( $text ); |
1850 | 1852 | $text = $this->replaceVariables( $text, array() ); |
1851 | 1853 | } |
1852 | 1854 | |