Index: tests/Zend/Filter/StripTagsTest.php =================================================================== --- tests/Zend/Filter/StripTagsTest.php (revision 22549) +++ tests/Zend/Filter/StripTagsTest.php (revision ) @@ -602,7 +602,22 @@ $expected = ''; $this->assertEquals($expected, $filter->filter($input)); } + + /** + * Ensures that a comment at the end of input string, which is not closed + * is correctly stripped + * + * @see ZF-10256 + * @link http://framework.zend.com/issues/browse/ZF-10256 + * @return void + */ + public function testNotClosedHtmlCommentAtEndOfString() + { + $input = 'text