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

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2024-02-23 21:31:32 +07:00
parent 145e662339
commit 5a2ab086ae

2
html.c
View file

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