diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 | } |