From cef88dc6ce96abb8fb0db3d8fd723fef3636695d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 20 Dec 2019 09:19:30 -0500 Subject: bugfix toc endnotes links in xmls, other minor --- src/doc_reform/io_out/odt.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/doc_reform/io_out/odt.d') diff --git a/src/doc_reform/io_out/odt.d b/src/doc_reform/io_out/odt.d index 1a553d1..09bcf65 100644 --- a/src/doc_reform/io_out/odt.d +++ b/src/doc_reform/io_out/odt.d @@ -404,7 +404,7 @@ template formatODT() { assert(obj.metainfo.is_of_part == "body" || "frontmatter" || "backmatter"); assert(obj.metainfo.is_of_section == "body" || "toc" || "endnotes" || "glossary" || "bibliography" || "bookindex" || "blurb"); assert(obj.metainfo.is_of_type == "para"); - assert(obj.metainfo.is_a == "para" || "toc" || "endnotes" || "glossary" || "bibliography" || "bookindex" || "blurb"); + assert(obj.metainfo.is_a == "para" || "toc" || "endnote" || "glossary" || "bibliography" || "bookindex" || "blurb"); string _o_txt_odt; if (obj.metainfo.dummy_heading && (obj.metainfo.is_a == "toc" || obj.metainfo.is_a == "heading")) { -- cgit v1.2.3