From 61dae461c456c8b4ed807bc576c23aa2ec89a74b Mon Sep 17 00:00:00 2001 From: Lee Willis Date: Fri, 11 Jul 2003 11:08:41 +0000 Subject: Fix export of smart bookmarks 2003-07-11 Lee Willis * src/bookmarks.ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Fix export of smart bookmarks --- ChangeLog | 6 ++++++ src/bookmarks/ephy-bookmarks-export.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8d14d82c9..46466a34c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-07-11 Lee Willis + + * src/bookmarks.ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): + + Fix export of smart bookmarks + 2003-07-10 David Bordoley * src/ephy-window.c: diff --git a/src/bookmarks/ephy-bookmarks-export.c b/src/bookmarks/ephy-bookmarks-export.c index 7f026f3a1..97c955259 100644 --- a/src/bookmarks/ephy-bookmarks-export.c +++ b/src/bookmarks/ephy-bookmarks-export.c @@ -166,7 +166,10 @@ ephy_bookmarks_export_rdf (EphyBookmarks *bookmarks, if (smart_url) { - xml_node = xmlNewChild (item_node, ephy_ns, "smartlink", url); + xmlChar *encoded_url; + encoded_url = xmlEncodeEntitiesReentrant (doc, url); + xml_node = xmlNewChild (item_node, ephy_ns, "smartlink", encoded_url); + xmlFree (encoded_url); } add_topics_list (topics, kid, item_node, dc_ns); -- cgit v1.2.3