g_string_append_printf (markup,
"<div class=\"shortcut\" id=\"s%d\"><div class=\"preview\">"
"<a class=\"cross\" href=\"#\" onclick='clearShortcut(\"s%d\");'></a>"
- "<a href=\"%s\"><img src=\"%s%s\"></a>"
+ "<a href=\"%s\"><img src=\"data:image/png;base64,%s\"></a>"
"</div><div class=\"title\" onclick='renameShortcut(\"s%d\");'>%s</div></div>\n",
- slot, slot, uri, prefix, encoded, slot, title ? title : "");
+ slot, slot, uri, encoded, slot, title ? title : "");
g_free (title);
g_free (encoded);