From d9ca841cc99431a614f2aafe8a7563d0536727d8 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 21 Dec 2023 07:49:39 +0100 Subject: [PATCH] Don't wrap the content in

; just add a final

. --- html.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/html.c b/html.c index 616d6bf..6c65d3b 100644 --- a/html.c +++ b/html.c @@ -1438,10 +1438,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local, c = xs_replace_i(c, "

", "

"); - if (!xs_startswith(c, "

")) { - xs *s1 = c; - c = xs_fmt("

%s

", s1); - } + c = xs_str_cat(c, "

"); /* replace the :shortnames: */ c = replace_shortnames(c, xs_dict_get(msg, "tag"), 2);