summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2024-02-24 06:39:59 +0000
committergrunfink <grunfink@noreply.codeberg.org>2024-02-24 06:39:59 +0000
commit8126fb97ce1636e027a5858e72cf6d1d1d62670f (patch)
treeaf0c23df0a6c7285bd5057501a5683179d442558 /html.c
parent145e6623391b6f2cc64101c59d9000f3353b2302 (diff)
parentd42aaa19e418ee89f25e9e33f8ab7d304fff0386 (diff)
Merge pull request 'html.c: html_user_body: snac-property: Put &nbsp; (empty space) instead of <br> & other' (#142) from Yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/142
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 e1df7e9..eff356e 100644
--- 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),