diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-export.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |