瀏覽代碼

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

Signed-off-by: Yonle <yonle@lecturify.net>
Yonle 1 年之前
父節點
當前提交
5a2ab086ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      html.c

+ 1 - 1
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),