aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output/epub3.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/output/epub3.d')
-rw-r--r--src/sdp/output/epub3.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdp/output/epub3.d b/src/sdp/output/epub3.d
index 7851c09..b6987ae 100644
--- a/src/sdp/output/epub3.d
+++ b/src/sdp/output/epub3.d
@@ -508,6 +508,7 @@ template outputEPub3() {
}
}
if (obj.is_a == "heading") {
+ assert(obj.text.length > 0);
if (obj.heading_lev_markup <= 4) {
oepbs_content_parts["manifest_documents"] ~=
format(q"ΒΆ <item id="%s.xhtml" href="%s.xhtml" media-type="application/xhtml+xml" />