Bug #51773 [Opn->Fbk]: XMLWrite double encode entities
Edit report at http://bugs.php.net/bug.php?id=51773&edit=1
ID: 51773
Updated by: aharvey@php.net
Reported by: jk555 at hotbox dot ru
Summary: XMLWrite double encode entities
-Status: Open
+Status: Feedback
Type: Bug
Package: XML Writer
Operating System: Win
PHP Version: 5.3.2
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2010-05-08 22:03:41] jk555 at hotbox dot ru
Description:
------------
XMLWrite double encode entities. For example, becomes &nbsp;,
or & becomes &amp;
Expected result:
----------------
Entities must remains intact.
Maybe something like $double_encode of htmlentities function will be
useful...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51773&edit=1
Thread (3 messages)