snac2

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

commit 5a2ab086aeecac79559035fae85d162cf8a99def
parent 145e6623391b6f2cc64101c59d9000f3353b2302
Author: Yonle <yonle@lecturify.net>
Date:   Fri, 23 Feb 2024 21:31:32 +0700

html.c: html_user_body: snac-property: Put &nbsp; (empty space) instead of <br>

Signed-off-by: Yonle <yonle@lecturify.net>

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

diff --git a/html.c b/html.c @@ -820,7 +820,7 @@ static xs_html *html_user_body(snac *user, int read_only) xs_html_attr("class", "snac-property-name"), xs_html_text(k)), xs_html_text(":"), - xs_html_sctag("br", NULL), + xs_html_raw("&nbsp;"), xs_html_tag("span", xs_html_attr("class", "snac-property-value"), value),