snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 64d3bb7e33485bf4fafed7108422378ac98aabf1
parent c4bb189d99d5134ae11d79e5d5706d488a80ef41
Author: default <nobody@localhost>
Date:   Thu, 13 Jul 2023 22:32:06 +0200

Fixed Link HTML.

Diffstat:
Mhtml.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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); } }