mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
4c400890ed
- 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
14 lines
261 B
PHP
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
|