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
19 lines
362 B
PHP
19 lines
362 B
PHP
--TEST--
|
|
Bug #21453 (handling of non-encoded <), binary variant
|
|
--FILE--
|
|
<?php
|
|
$test = b"
|
|
<table>
|
|
<tr><td>first cell before < first cell after</td></tr>
|
|
<tr><td>second cell before < second cell after</td></tr>
|
|
</table>";
|
|
|
|
var_dump(strip_tags($test));
|
|
?>
|
|
--EXPECT--
|
|
string(80) "
|
|
|
|
first cell before < first cell after
|
|
second cell before < second cell after
|
|
"
|