summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2006-06-17 21:00:54 +0000
committerShaun McCance <shaunm@src.gnome.org>2006-06-17 21:00:54 +0000
commit70ccf116a62ff6398c33c30d89ad98ef7e77aea5 (patch)
tree398b6267f2a5673590edd41fdf40acd4ae9ba6c5
parentf88b4d41272d9916a08fa31f6ade8d90d80e55c0 (diff)
downloadyelp-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--ChangeLog5
-rw-r--r--src/yelp-toc-pager.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 503f27f3..1a85cd02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);