The URL probably needs to be quoted.

Tue, 05 Jun 2012 06:15:26 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Tue, 05 Jun 2012 06:15:26 +0000
changeset 33016
509c717fcf6e
parent 33015
20fdd5e3f446
child 33017
d21ab88ad911

The URL probably needs to be quoted.

pidgin/gtkwebview.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkwebview.c	Tue Jun 05 05:35:29 2012 +0000
+++ b/pidgin/gtkwebview.c	Tue Jun 05 06:15:26 2012 +0000
@@ -1044,7 +1044,7 @@
 	char *link;
 
 	dom = webkit_web_view_get_dom_document(WEBKIT_WEB_VIEW(webview));
-	link = g_strdup_printf("<a href=%s>%s</a>", url, desc ? desc : url);
+	link = g_strdup_printf("<a href='%s'>%s</a>", url, desc ? desc : url);
 
 	priv->edit.block_changed = TRUE;
 	webkit_dom_document_exec_command(dom, "insertHTML", FALSE, link);

mercurial