summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index ebb2307..581feb2 100644
--- a/html.c
+++ b/html.c
@@ -77,8 +77,9 @@ d_char *html_msg_icon(snac *snac, d_char *os, char *msg)
77 77
78 if (n && i) { 78 if (n && i) {
79 char *u = xs_dict_get(i, "url"); 79 char *u = xs_dict_get(i, "url");
80 xs *img = xs_fmt("<img src=\"%s\" style=\"height: 1em\"/>", u);
80 81
81 name = xs_replace_i(name, n, u); 82 name = xs_replace_i(name, n, img);
82 } 83 }
83 } 84 }
84 } 85 }