commit 5aa9043
default
·
2023-05-31 04:41:06 +0000 UTC
parent 60fc87d
Don't even call html_entry() for children with "name".
1 files changed,
+1,
-1
M
html.c
M
html.c
+1,
-1
1@@ -1098,7 +1098,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
2 older_open = 0;
3 }
4
5- if (chd != NULL) {
6+ if (chd != NULL && xs_is_null(xs_dict_get(chd, "name"))) {
7 ss = html_entry(snac, ss, chd, local, level + 1, cmd5, hide_children);
8 n_children++;
9 }