diff --git a/toMkdocs/toMkdocs.py b/toMkdocs/toMkdocs.py index bd17b62277533ee394f96da8047e914c04023e7a..01c0a6a69ee6d22914b050895ca916b4494e6d29 100644 --- a/toMkdocs/toMkdocs.py +++ b/toMkdocs/toMkdocs.py @@ -170,7 +170,7 @@ class Document: ignoreUntilFirstHeader: Ignore all clauses until the first heading. """ - result:list[Clause] = [Clause(0, '', '', [])] + result:list[Clause] = [] ignoreTitles = [ t.casefold() for t in ignoreTitles ] # convert to lower case