php-src/ext/standard/tests/strings/bug40704_binary.phpt
Arnaud Le Blanc 4c400890ed strip_tags() fixes:
- MFH5.3 (Fix bug when < is used within attribute.)
- Fix handling of case when searching for allowed tags in unicode variant
- tests for both unicode and binary variants
2009-04-24 21:23:47 +00:00

14 lines
261 B
PHP

--TEST--
Bug #40704 (strip_tags() does not handle single quotes correctly), binary variant
--FILE--
<?php
$html = b"<div>Bug ' Trigger</div> Missing Text";
var_dump(strip_tags($html));
echo "Done\n";
?>
--EXPECT--
string(26) "Bug ' Trigger Missing Text"
Done