From 5d344212d4e8fc2878afa6f3d7ba7c29bb17b912 Mon Sep 17 00:00:00 2001
From: Ralph Amissah <ralph.amissah@gmail.com>
Date: Fri, 23 Dec 2022 18:15:34 -0500
Subject: epub header assertion removed, check

---
 src/doc_reform/io_out/epub3.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/doc_reform/io_out/epub3.d b/src/doc_reform/io_out/epub3.d
index 44607f7..d19545c 100644
--- a/src/doc_reform/io_out/epub3.d
+++ b/src/doc_reform/io_out/epub3.d
@@ -542,7 +542,7 @@ template outputEPub3() {
           }
         }
         if (obj.metainfo.is_a == "heading") {
-          assert(obj.text.length > 0);
+          // assert(obj.text.length > 0); // check assertion
           if (obj.metainfo.heading_lev_markup <= 4) {
             oepbs_content_parts["manifest_documents"] ~=
               format(q"┃<item id="%s.xhtml" href="%s.xhtml" media-type="application/xhtml+xml" />
-- 
cgit v1.2.3