diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-06-22 02:53:07 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-06-22 02:53:07 +0800 |
commit | 0730f269f01a5ecd12eaa465d0fd05ca4e5589ba (patch) | |
tree | afc3e7d4a94f7a3ebb76aed41f10a227c37b6f95 /filter | |
parent | 82666876f8d1532f801e098d3efcbd31bc8d3a47 (diff) | |
download | gsoc2013-evolution-0730f269f01a5ecd12eaa465d0fd05ca4e5589ba.tar.gz gsoc2013-evolution-0730f269f01a5ecd12eaa465d0fd05ca4e5589ba.tar.zst gsoc2013-evolution-0730f269f01a5ecd12eaa465d0fd05ca4e5589ba.zip |
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
Diffstat (limited to 'filter')
-rw-r--r-- | filter/ChangeLog | 4 | ||||
-rw-r--r-- | filter/filter-input.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 12a273be3d..dd6cabef31 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -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!!!! diff --git a/filter/filter-input.c b/filter/filter-input.c index 021aa54a28..e83da431fe 100644 --- a/filter/filter-input.c +++ b/filter/filter-input.c @@ -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; } |