summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2025-04-05 13:51:03 +0200
committerGravatar default2025-04-05 13:51:03 +0200
commit9f6d34eddadafbd79bc608c1cb650d9c90b5a0d3 (patch)
treea8b7171e9965b2b21c7c17b39168e0af38722ceb /html.c
parentAdded a (CSS hidden) hr tag after each post. (diff)
downloadsnac2-9f6d34eddadafbd79bc608c1cb650d9c90b5a0d3.tar.gz
snac2-9f6d34eddadafbd79bc608c1cb650d9c90b5a0d3.tar.xz
snac2-9f6d34eddadafbd79bc608c1cb650d9c90b5a0d3.zip
Use <hr hidden> instead of 'display: none' style.
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 eff55e7..5ede8f9 100644
--- a/html.c
+++ b/html.c
@@ -2734,7 +2734,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2734 /* add an invisible hr, to help differentiate between posts in text browsers */ 2734 /* add an invisible hr, to help differentiate between posts in text browsers */
2735 xs_html_add(entry_top, 2735 xs_html_add(entry_top,
2736 xs_html_sctag("hr", 2736 xs_html_sctag("hr",
2737 xs_html_attr("style", "display: none"))); 2737 xs_html_attr("hidden", NULL)));
2738 2738
2739 return entry_top; 2739 return entry_top;
2740} 2740}