From: Paweł Forysiuk Date: Tue, 15 Feb 2011 22:55:34 +0000 (+0100) Subject: Escape bookmark items when exporting to Netscape HTML X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b63444f3cb51c1e31570647400137eba41178e61;p=midori Escape bookmark items when exporting to Netscape HTML --- diff --git a/midori/midori-array.c b/midori/midori-array.c index c5582583..20c49899 100644 --- a/midori/midori-array.c +++ b/midori/midori-array.c @@ -715,7 +715,7 @@ string_append_netscape_item (GString* string, GList* list; g_string_append (string, "\t

"); - g_string_append (string, katze_item_get_name (item)); + string_append_escaped (string, katze_item_get_name (item)); g_string_append (string, "

\n"); g_string_append (string, "\t

\n"); KATZE_ARRAY_FOREACH_ITEM_L (_item, array, list) @@ -730,15 +730,15 @@ string_append_netscape_item (GString* string, else if (katze_item_get_uri (item)) { g_string_append (string, "\t

"); - g_string_append (string, katze_item_get_name (item)); + string_append_escaped (string, katze_item_get_name (item)); g_string_append (string, "\n"); if (item->text && g_strcmp0 (item->text, "")) { g_string_append (string, "\t
"); - g_string_append (string, katze_item_get_text (item)); + string_append_escaped (string, katze_item_get_text (item)); g_string_append (string, "\n"); } }