diff options
author | Lee Willis <lee@lee-and-claire.co.uk> | 2003-07-11 19:08:41 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-07-11 19:08:41 +0800 |
commit | 61dae461c456c8b4ed807bc576c23aa2ec89a74b (patch) | |
tree | 0d48255e4bee8e0f86e80f1b2aa53c39f2848cd1 /src/bookmarks/ephy-bookmarks-export.c | |
parent | 6affa95f2971189c6896fb5c20572c64b31915f1 (diff) | |
download | gsoc2013-epiphany-61dae461c456c8b4ed807bc576c23aa2ec89a74b.tar gsoc2013-epiphany-61dae461c456c8b4ed807bc576c23aa2ec89a74b.tar.gz gsoc2013-epiphany-61dae461c456c8b4ed807bc576c23aa2ec89a74b.tar.bz2 gsoc2013-epiphany-61dae461c456c8b4ed807bc576c23aa2ec89a74b.tar.lz gsoc2013-epiphany-61dae461c456c8b4ed807bc576c23aa2ec89a74b.tar.xz gsoc2013-epiphany-61dae461c456c8b4ed807bc576c23aa2ec89a74b.tar.zst gsoc2013-epiphany-61dae461c456c8b4ed807bc576c23aa2ec89a74b.zip |
Fix export of smart bookmarks
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
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-export.c')
-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); |