encode entities. fixes bug #46677.
2004-06-21 Jeffrey Stedfast <fejj@novell.com> * filter-input.c (xml_encode): encode entities. fixes bug #46677. svn path=/trunk/; revision=26443
This commit is contained in:
committed by
Jeffrey Stedfast
parent
82666876f8
commit
0730f269f0
@ -1,3 +1,7 @@
|
||||
2004-06-21 Jeffrey Stedfast <fejj@novell.com>
|
||||
|
||||
* filter-input.c (xml_encode): encode entities. fixes bug #46677.
|
||||
|
||||
2004-06-18 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* filter-errors.xml.h: Re-added - THIS IS NOT TO BE REMOVED!!!!
|
||||
|
||||
@ -252,7 +252,11 @@ xml_encode (FilterElement *fe)
|
||||
char *str = l->data;
|
||||
|
||||
cur = xmlNewChild (value, NULL, type, NULL);
|
||||
|
||||
str = xmlEncodeEntitiesReentrant (NULL, str);
|
||||
xmlNodeSetContent (cur, str);
|
||||
xmlFree (str);
|
||||
|
||||
l = l->next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user