#33037 [Opn->Fbk]: English : Example Bad output
| From: | nlopess@php.net | Date: | Mon, 16 May 2005 14:28:47 +0000 |
| Subject: | #33037 [Opn->Fbk]: English : Example Bad output | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969368277@lists.php.net to get a copy of this message | ||
ID: 33037
Updated by: nlopess@php.net
Reported By: jsgoupil@php.net
-Status: Open
+Status: Feedback
-Bug Type: Documentation problem
+Bug Type: Livedocs problem
PHP Version: Irrelevant
New Comment:
Its a livedocs problem.
Could you please try my ancient patch mentioned in #30440 ?
Previous Comments:
------------------------------------------------------------------------
[2005-05-16 03:52:27] jsgoupil@php.net
Description:
------------
reference/strings/functions/htmlspecialchars-decode.html
Ok, look at the example in livedocs what it outputs..., the output is
the same... (check example too).
I don't really know if it is a doc bug or a livedocs bug.
Feel free to redirect this bug to Livedocs...
Perhaps the output will be great on php.net, i don't know ?!
Expected result:
----------------
<?php
$str = '<p>this -> "</p>';
echo htmlspecialchars_decode($str);
// notez ici que les guillemets ne sont pas convertis
echo htmlspecialchars_decode($str, ENT_NOQUOTES);
?>
<p>this -> "</p>
<p>this -> "</p>
Actual result:
--------------
<?php
$str = '<p>this -> "</p>';
echo htmlspecialchars_decode($str);
// notez ici que les guillemets ne sont pas convertis
echo htmlspecialchars_decode($str, ENT_NOQUOTES);
?>
<p>this -> "</p>
<p>this -> "</p>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33037&edit=1