Req #67811 [NEW]: htmlspecialchars: document why/when apos instead of #39 is used
| From: | mfischer@php.net | Date: | Sat, 09 Aug 2014 11:21:17 +0000 |
| Subject: | Req #67811 [NEW]: htmlspecialchars: document why/when apos instead of #39 is used | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-11422@lists.php.net to get a copy of this message | ||
From: mfischer
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Feature/Change Request
Bug description:htmlspecialchars: document why/when apos instead of #39 is used
Description:
------------
The documentation at
http://php.net/manual/en/function.htmlspecialchars.php
says:
"'" (single quote) becomes ''' (or ') only when
ENT_QUOTES is
set.
It does not convey that ' will only be converted to apos if ENT_HTML5 is
also provided (because, for background, there was no apos in HTML4 but
there's now in 5).
--
Edit bug report at https://bugs.php.net/bug.php?id=67811&edit=1
--