mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 00:43:38 +00:00
Don't even call html_entry() for children with "name".
This commit is contained in:
parent
60fc87d845
commit
5aa9043668
1 changed files with 1 additions and 1 deletions
2
html.c
2
html.c
|
@ -1098,7 +1098,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
|
|||
older_open = 0;
|
||||
}
|
||||
|
||||
if (chd != NULL) {
|
||||
if (chd != NULL && xs_is_null(xs_dict_get(chd, "name"))) {
|
||||
ss = html_entry(snac, ss, chd, local, level + 1, cmd5, hide_children);
|
||||
n_children++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue