blob: 82e91b5c872971eb1b3c97ab1ac8851a306a2dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
Bug #40704 (strip_tags() does not handle single quotes correctly)
--FILE--
<?php
$html = "<div>Bug ' Trigger</div> Missing Text";
var_dump(strip_tags($html));
echo "Done\n";
?>
--EXPECT--
string(26) "Bug ' Trigger Missing Text"
Done
|