Req #67811 [Opn->Csd]: htmlspecialchars: document why/when apos instead of #39 is used

From: Date: Sat, 25 Jun 2016 23:37:15 +0000
Subject: Req #67811 [Opn->Csd]: htmlspecialchars: document why/when apos instead of #39 is used
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13618@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67811&edit=1 ID: 67811 Updated by: cmb@php.net Reported by: mfischer@php.net Summary: htmlspecialchars: document why/when apos instead of #39 is used -Status: Open +Status: Closed Type: Feature/Change Request Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: This request has been addressed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2016-06-25 23:35:41] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&revision=339499 Log: Address #67811: htmlspecialchars: document why/when apos instead of #39 is used ------------------------------------------------------------------------ [2014-08-09 11:21:17] mfischer@php.net 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 this bug report at https://bugs.php.net/bug.php?id=67811&edit=1

« previous php.doc.bugs (#13618) next »