ID: 27374 User updated by: andrey at itime dot ru Reported By: andrey at itime dot ru Status: Open Bug Type: Unknown/Other Function Operating System: any PHP Version: Irrelevant New Comment:
But it's still valid html code, isn't it? HTML 4 specification (http://www.w3.org/TR/REC-html40) allow to use "<" and ">" within attribute values... Previous Comments: ------------------------------------------------------------------------ [2004-02-24 02:57:59] [EMAIL PROTECTED] Actually your HTML code is what is broken here, you should use this: <a href=">">123</a> ------------------------------------------------------------------------ [2004-02-24 02:45:49] andrey at itime dot ru Description: ------------ strip_tags don't accept quotes and double quotes inside html tags. Reproduce code: --------------- echo strip_tags('<a href=">">123</a>'); Expected result: ---------------- 123 Actual result: -------------- ">123 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27374&edit=1
