Re: Typo in htmlspecialchars
| From: | Friedhelm Betz | Date: | Sat, 27 Nov 2004 20:16:10 +0000 |
| Subject: | Re: Typo in htmlspecialchars | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365270@lists.php.net to get a copy of this message | ||
Hi Ted,
http://www.php.net/manual/en/function.htmlspecialchars.php Bullet two, which currently reads: '"' (double quote) becomes '"' when ENT_NOQUOTES is not set. should probably read: '"' (double quote) becomes '"' when ENT_COMPAT (the default) or ENT_QUOTES is set. or maybe (but leaves room for confusion): '"' (double quote) becomes '"' when anything other than ENT_NOQUOTES is set. The paragraph preceding the bullets states: if ENT_NOQUOTES is set neither single nor double quotes are translated Ted Stresen-Reuter http://www.tedmasterweb.com/Please report bugs at bugs.php.net. This will help to keep track of this issue. Thanks in advance Regards Friedhelm