diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1219,7 +1219,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local, | |||
| 1219 | 1219 | ||
| 1220 | if (!xs_is_null(url)) { | 1220 | if (!xs_is_null(url)) { |
| 1221 | xs *es1 = encode_html(url); | 1221 | xs *es1 = encode_html(url); |
| 1222 | xs *s1 = xs_fmt("<p><a href=\"%s\">%s</p>", url, es1); | 1222 | xs *s1 = xs_fmt("<p><a href=\"%s\">%s</a></p>\n", url, es1); |
| 1223 | s = xs_str_cat(s, s1); | 1223 | s = xs_str_cat(s, s1); |
| 1224 | } | 1224 | } |
| 1225 | } | 1225 | } |