Mercurial > pidgin
changeset 20371:2c97def38318
a patch from stu for html handling.
fixes #3436
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 23 Oct 2007 15:19:23 +0000 |
parents | e3677d0d6db9 |
children | 5144169b5b4b |
files | libpurple/util.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/util.c Tue Oct 23 15:16:17 2007 +0000 +++ b/libpurple/util.c Tue Oct 23 15:19:23 2007 +0000 @@ -1566,7 +1566,7 @@ pt->dest_tag = "a"; tags = g_list_prepend(tags, pt); if(xhtml) - g_string_append_printf(xhtml, "<a href='%s'>", g_strstrip(url->str)); + g_string_append_printf(xhtml, "<a href='%s'>", url ? g_strstrip(url->str) : ""); continue; } if(!g_ascii_strncasecmp(c, "<font", 5) && (*(c+5) == '>' || *(c+5) == ' ')) {