On 2004/02/04, at 16:39, Marcus Boerger wrote:


Why were the following changed to be converted always?
Doing so prevents you from sending out html code.

-const mbfl_html_entity mbfl_html_entity_list[] = { /*
-  {"quot",       34},  DO NOT CONVERT THESE AUTOMATICALLY
+const mbfl_html_entity_entry mbfl_html_entity_list[] = {
+  {"quot",       34},
   {"amp",        38},
   {"lt",         60},
-  {"gt",         62},  */
+  {"gt",         62},

Those entities are not processed anyway because the related functions look up htmlentitifieds[256] and convert each characters to the corresponding entities if the value "1" is mapped to that character on the "htmlentitifieds" table. This is actually a slight algorithmic change.

Moriyoshi

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to