ID: 39434
Updated by: [EMAIL PROTECTED]
Reported By: geoffers at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Strings related
Operating System: Mac OS 10.4.8
PHP Version: 4.4.4
New Comment:
To process HTML broken in every possible way we would need to implement
a browser in PHP, which is definitely not our goal.
Previous Comments:
------------------------------------------------------------------------
[2006-11-08 17:27:01] geoffers at gmail dot com
Description:
------------
I'm well aware that this an unclear in the HTML specification,
but this would bring PHP inline with IE/Fx/Saf/Op as well as
the W3C Validator.
Reproduce code:
---------------
<?php
echo strip_tags('<span title="test > all">this</span>');
?>
Expected result:
----------------
this
Actual result:
--------------
all">this
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39434&edit=1