cvs: php-src /ext/standard html.c
| From: | Moriyoshi Koizumi | Date: | Tue, 21 Oct 2003 01:46:55 +0000 |
| Subject: | cvs: php-src /ext/standard html.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24202@lists.php.net to get a copy of this message | ||
moriyoshi Mon Oct 20 21:46:55 2003 EDT
Modified files:
/php-src/ext/standard html.c
Log:
Missing '&' in the result of get_html_translation_table()
Index: php-src/ext/standard/html.c
diff -u php-src/ext/standard/html.c:1.90 php-src/ext/standard/html.c:1.91
--- php-src/ext/standard/html.c:1.90 Thu Oct 2 15:23:00 2003
+++ php-src/ext/standard/html.c Mon Oct 20 21:46:54 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: html.c,v 1.90 2003/10/02 19:23:00 moriyoshi Exp $ */
+/* $Id: html.c,v 1.91 2003/10/21 01:46:54 moriyoshi Exp $ */
/*
* HTML entity resources:
@@ -1229,8 +1229,10 @@
continue;
ind[0] = (unsigned char)basic_entities[j].charcode;
- add_assoc_string(return_value, ind, basic_entities[j].entity, 1);
+ add_assoc_stringl(return_value, ind, basic_entities[j].entity, basic_entities[j].entitylen, 1);
}
+ add_assoc_stringl(return_value, "&", "&",
sizeof("&") - 1, 1);
+
break;
}
}