Re: cvs: php-src /ext/mbstring/libmbfl AUTHORS Makefile.am Makefile.bcc32 README config.h.in configure.in mbfl.rc /ext/mbstring/libmbfl/filters
Makefile.am html_entities.c html_entities.h mbfilter_htmlent.c /ext/mbstring/libmbfl/mbfl Makefile.am mbfilter.c mbfilter.h mbfilter_8bit.h
mbfilter_pass.h mbfilter_wchar.h mbfl_convert.c mbfl_convert.h mbfl_ident.c mbfl_ident.h /ext/mbstring/libmbfl/nls Makefile.am

From: Date: Wed, 04 Feb 2004 07:49:47 +0000
Subject: Re: cvs: php-src /ext/mbstring/libmbfl AUTHORS Makefile.am Makefile.bcc32 README config.h.in configure.in mbfl.rc /ext/mbstring/libmbfl/filters
Makefile.am html_entities.c html_entities.h mbfilter_htmlent.c /ext/mbstring/libmbfl/mbfl Makefile.am mbfilter.c mbfilter.h mbfilter_8bit.h
mbfilter_pass.h mbfilter_wchar.h mbfl_convert.c mbfl_convert.h mbfl_ident.c mbfl_ident.h /ext/mbstring/libmbfl/nls Makefile.am
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-26002@lists.php.net to get a copy of this message
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

« previous php.cvs (#26002) next »