Re: svn: /phpdoc/en/trunk/reference/strings/functions/ htmlentities.xml htmlspecialchars.xml
| From: | Nikita Popov | Date: | Tue, 13 Mar 2012 21:25:02 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/reference/strings/functions/ htmlentities.xml htmlspecialchars.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-9879@lists.php.net to get a copy of this message | ||
On Tue, Mar 13, 2012 at 3:39 PM, Gustavo André dos Santos Lopes
<cataphract@php.net> wrote:
> cataphract Tue, 13 Mar 2012 14:39:01 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=324188
>
> Log:
> - Improved documentation of ENT_DISALLOWED.
>
> Changed paths:
> U phpdoc/en/trunk/reference/strings/functions/htmlentities.xml
> U phpdoc/en/trunk/reference/strings/functions/htmlspecialchars..xml
>
> Modified: phpdoc/en/trunk/reference/strings/functions/htmlentities.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/strings/functions/htmlentities.xml 2012-03-13 13:19:33
> UTC (rev 324187)
> +++ phpdoc/en/trunk/reference/strings/functions/htmlentities.xml 2012-03-13 14:39:01
> UTC (rev 324188)
> @@ -78,8 +78,11 @@
> <row>
> <entry><constant>ENT_SUBSTITUTE</constant></entry>
> <entry>
> - Replace invalid code unit sequences with a Unicode Replacement Character
> - U+FFFD (UTF-8) or &#FFFD; (otherwise) instead of returning an empty
> string.
> + Replace invalid code points for the given document type with a
> +
> Unicode Replacement Character U+FFFD (UTF-8) or
> &#FFFD;
> +
> (otherwise) instead of returning an empty string.
> This may be
> +
> useful, for instance, to ensure the
> well-formedness of XML documents
> +
> with embedded external content.
> </entry>
> </row>
> <row>
Are you sure you modified the right section here? This looks like
ENT_SUBSTITUTE, not like ENT_DISALLOWED.
Nikita