diff --git a/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php b/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php index ee343e39..0785c328 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Strip/CompileStripTest.php @@ -39,6 +39,13 @@ class CompileStripTest extends PHPUnit_Smarty { $this->assertContains('
[X]
foobar', $this->smarty->fetch('strip_multi_line_html_tag.tpl')); } + /** + * test strip tag multi line html + */ + public function testStripHtmlTag() + { + $this->assertContains('', $this->smarty->fetch('strip_html_tag.tpl')); + } /** * test strip tag multi line html */ diff --git a/tests/UnitTests/TemplateSource/TagTests/Strip/templates/strip_html_tag.tpl b/tests/UnitTests/TemplateSource/TagTests/Strip/templates/strip_html_tag.tpl new file mode 100644 index 00000000..b9479616 --- /dev/null +++ b/tests/UnitTests/TemplateSource/TagTests/Strip/templates/strip_html_tag.tpl @@ -0,0 +1,10 @@ +{strip} + +{/strip} \ No newline at end of file