diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmarks-export.c | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2003-07-11 Lee Willis <lee@lee-and-claire.co.uk> + + * src/bookmarks.ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): + + Fix export of smart bookmarks + 2003-07-10 David Bordoley <bordoley@msu.edu> * 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); |