X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/03fcb340d22b423440633017f7e43dc89cd015e8..3038ce7acdf6ea5f0af267138287b2ae829d1261:/bk_html.c diff --git a/bk_html.c b/bk_html.c index 23219be..1bd573a 100644 --- a/bk_html.c +++ b/bk_html.c @@ -540,6 +540,7 @@ void html_backend(paragraph *sourceform, keywordlist *keywords, sect->text = NULL; sect->type = INDEX; sect->parent = topsect; + sect->contents_depth = 0; html_file_section(&conf, &files, sect, 0); /* peer of chapters */ sect->fragment = utoa_dup(conf.index_text, CS_ASCII); sect->fragment = html_sanitise_fragment(&files, sect->file,