PHP 4.0 Bug #5254: No bug, feature ;)
| From: | bram at doit-e dot net | Date: | Thu, 29 Jun 2000 05:00:56 +0000 |
| Subject: | PHP 4.0 Bug #5254: No bug, feature ;) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22587@lists.php.net to get a copy of this message | ||
From: bram@doit-e.net
Operating system: Linux
PHP version: 4.0 Latest CVS (29/06/2000)
PHP Bug Type: Feature/Change Request
Bug description: No bug, feature ;)
I think it would be usefull to incorporate the following change in the next release.
--- php-4.0.0-cp/ext/standard/html.c Thu May 18 21:34:35 2000
+++ php-4.0.0/ext/standard/html.c Wed Jun 28 10:06:12 2000
@@ -64,6 +64,10 @@
} else if (34 == *old) {
memcpy (new + len, """, 6);
len += 6;
+ } else if (39 == *old) {
+ /* single quote (') */
+ memcpy (new + len, "'",6);
+ len += 6;
} else if (60 == *old) {
memcpy (new + len, "<", 4);
len += 4;
tnx :)