diff options
| author | 2025-04-05 13:51:03 +0200 | |
|---|---|---|
| committer | 2025-04-05 13:51:03 +0200 | |
| commit | 9f6d34eddadafbd79bc608c1cb650d9c90b5a0d3 (patch) | |
| tree | a8b7171e9965b2b21c7c17b39168e0af38722ceb | |
| parent | Added a (CSS hidden) hr tag after each post. (diff) | |
| download | penes-snac2-9f6d34eddadafbd79bc608c1cb650d9c90b5a0d3.tar.gz penes-snac2-9f6d34eddadafbd79bc608c1cb650d9c90b5a0d3.tar.xz penes-snac2-9f6d34eddadafbd79bc608c1cb650d9c90b5a0d3.zip | |
Use <hr hidden> instead of 'display: none' style.
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | } |