Req #47915 [Asn]: Support apos entity in html_entity_decode
| From: | cataphract@php.net | Date: | Sun, 10 Oct 2010 19:08:07 +0000 |
| Subject: | Req #47915 [Asn]: Support apos entity in html_entity_decode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-155063@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=47915&edit=1
ID: 47915
Updated by: cataphract@php.net
Reported by: spam04 at pornel dot net
Summary: Support apos entity in html_entity_decode
Status: Assigned
Type: Feature/Change Request
Package: *General Issues
Operating System: *
PHP Version: 5.2CVS-2009-04-07 (snap)
Assigned To: cataphract
Block user comment: N
New Comment:
This has been implemented in trunk in revision #304287.
See http://svn.php.net/viewvc?view=revision&revision=304287
Previous Comments:
------------------------------------------------------------------------
[2009-04-07 11:24:53] spam04 at pornel dot net
Description:
------------
XML/XHTML entity ' is not supported by html_entity_decode().
I understand it's supposed to be for HTML decoding, but it would be nice
to extend this function to support XHTML entities as well.
Reproduce code:
---------------
html_entity_decode("'",ENT_QUOTES);
Expected result:
----------------
'
Actual result:
--------------
'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=47915&edit=1