diff options
author | default <nobody@localhost> | 2022-10-07 10:12:14 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-07 10:12:14 +0200 |
commit | 17842c2a797a3091e937025e06e17a14e2a1a4e6 (patch) | |
tree | feddc36ec24d0b451ebe95b4181e513fc899e610 /html.c | |
parent | a62e830ced0e3ee425e6f8be26624bdd5f504b73 (diff) |
Don't indent entry children beyond 4.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -704,7 +704,10 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i int left = xs_list_len(children); char *id; - s = xs_str_cat(s, "<div class=\"snac-children\">\n"); + if (level < 4) + s = xs_str_cat(s, "<div class=\"snac-children\">\n"); + else + s = xs_str_cat(s, "<div>\n"); if (left > 3) s = xs_str_cat(s, "<details><summary>...</summary>\n"); |