summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-07-13 22:32:06 +0200
committerdefault <nobody@localhost>2023-07-13 22:32:06 +0200
commit64d3bb7e33485bf4fafed7108422378ac98aabf1 (patch)
tree48e0e0989c17e9d23a4973fb17af51c9ac302a9b /html.c
parentc4bb189d99d5134ae11d79e5d5706d488a80ef41 (diff)
Fixed Link HTML.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 71d6e5b..9f587f1 100644
--- a/html.c
+++ b/html.c
@@ -1219,7 +1219,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
if (!xs_is_null(url)) {
xs *es1 = encode_html(url);
- xs *s1 = xs_fmt("<p><a href=\"%s\">%s</p>", url, es1);
+ xs *s1 = xs_fmt("<p><a href=\"%s\">%s</a></p>\n", url, es1);
s = xs_str_cat(s, s1);
}
}