Edit report at http://bugs.php.net/bug.php?id=47915&edit=1

 ID:                 47915
 Updated by:         cataphr...@php.net
 Reported by:        spam04 at pornel dot net
 Summary:            Support apos entity in html_entity_decode
-Status:             Assigned
+Status:             Closed
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   *
 PHP Version:        5.2CVS-2009-04-07 (snap)
 Assigned To:        cataphract
 Block user comment: N



Previous Comments:
------------------------------------------------------------------------
[2010-10-10 21:08:07] cataphr...@php.net

This has been implemented in trunk in revision #304287.



See http://svn.php.net/viewvc?view=revision&revision=304287

------------------------------------------------------------------------
[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

Reply via email to