add new test

This commit is contained in:
Antony Dovgal 2007-02-26 09:58:04 +00:00
parent 94d7b8b004
commit 666370d7ee

View File

@ -0,0 +1,13 @@
--TEST--
Bug #40637 (strip_tags() does not handle single quotes correctly)
--FILE--
<?php
$html = '<span title="Bug \' Trigger">Text</span>';
var_dump(strip_tags($html));
echo "Done\n";
?>
--EXPECTF--
string(4) "Text"
Done