From 128dfd8740e77de57cc9ce04e78868fa88f8236b Mon Sep 17 00:00:00 2001 From: ankraft <an.kraft@gmail.com> Date: Fri, 4 Oct 2024 18:35:04 +0200 Subject: [PATCH] Corrected clause 0.md duplication --- toMkdocs/toMkdocs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toMkdocs/toMkdocs.py b/toMkdocs/toMkdocs.py index bd17b62..01c0a6a 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 -- GitLab