diff options
| author | 2025-04-04 16:48:11 +0200 | |
|---|---|---|
| committer | 2025-04-04 16:48:11 +0200 | |
| commit | bb5a2445dac94a4d90b7d455b7723416a3df13ba (patch) | |
| tree | 573b1604f2325c994042c3314996676ec114d12f | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | penes-snac2-bb5a2445dac94a4d90b7d455b7723416a3df13ba.tar.gz penes-snac2-bb5a2445dac94a4d90b7d455b7723416a3df13ba.tar.xz penes-snac2-bb5a2445dac94a4d90b7d455b7723416a3df13ba.zip | |
Added a (CSS hidden) hr tag after each post.
| -rw-r--r-- | html.c | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -2731,6 +2731,11 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 2731 | } | 2731 | } |
| 2732 | } | 2732 | } |
| 2733 | 2733 | ||
| 2734 | /* add an invisible hr, to help differentiate between posts in text browsers */ | ||
| 2735 | xs_html_add(entry_top, | ||
| 2736 | xs_html_sctag("hr", | ||
| 2737 | xs_html_attr("style", "display: none"))); | ||
| 2738 | |||
| 2734 | return entry_top; | 2739 | return entry_top; |
| 2735 | } | 2740 | } |
| 2736 | 2741 | ||