diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2006-06-17 21:00:54 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2006-06-17 21:00:54 +0000 |
commit | 70ccf116a62ff6398c33c30d89ad98ef7e77aea5 (patch) | |
tree | 398b6267f2a5673590edd41fdf40acd4ae9ba6c5 | |
parent | f88b4d41272d9916a08fa31f6ade8d90d80e55c0 (diff) | |
download | yelp-70ccf116a62ff6398c33c30d89ad98ef7e77aea5.tar.gz |
- Use xmlNewTextChild so ampersands don't screw us up
* src/yelp-toc-pager.c:
- Use xmlNewTextChild so ampersands don't screw us up
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/yelp-toc-pager.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2006-06-17 Shaun McCance <shaunm@gnome.org> + + * src/yelp-toc-pager.c: + - Use xmlNewTextChild so ampersands don't screw us up + 2006-06-13 Don Scorgie <dscorgie@cvs.gnome.org> * src/yelp-info-parser.c: diff --git a/src/yelp-toc-pager.c b/src/yelp-toc-pager.c index 38753362..fb271557 100644 --- a/src/yelp-toc-pager.c +++ b/src/yelp-toc-pager.c @@ -1642,8 +1642,8 @@ process_info_pending (YelpTocPager *pager) BAD_CAST tmp); g_free (tmp); sectno++; - xmlNewChild (new_node, NULL, BAD_CAST "title", - BAD_CAST *ptr); + xmlNewTextChild (new_node, NULL, BAD_CAST "title", + BAD_CAST *ptr); g_hash_table_insert (categories, g_strdup (*ptr), new_node); |