diff options
Diffstat (limited to 'src/sdp/output/epub3.d')
-rw-r--r-- | src/sdp/output/epub3.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdp/output/epub3.d b/src/sdp/output/epub3.d index 0e864f7..dce1b0c 100644 --- a/src/sdp/output/epub3.d +++ b/src/sdp/output/epub3.d @@ -150,7 +150,7 @@ template outputEPub3() { string _txt = obj.text.replaceAll(rgx.inline_notes_al_gen, "").strip; foreach_reverse (n; 0 .. 7) { string k = n.to!string; - switch (obj.metainfo.dom_collapsed[n]) { + switch (obj.metainfo.dom_structure_collapsed_tags_status[n]) { case DomTags.close : toc ~= markup.indent_by_spaces_provided((n + 1), " ") ~ "</li>" ~ "\n"; toc ~= markup.indent_by_spaces_provided(n, " ") ~ "</ol>" ~ "\n"; @@ -247,7 +247,7 @@ template outputEPub3() { string _txt = obj.text.replaceAll(rgx.inline_notes_al_gen, "").strip; string hashtag =(obj.metainfo.heading_lev_markup <= 4) ? "" : ("#" ~ obj.metainfo.ocn.to!string); foreach_reverse (k; 0 .. 7) { - switch (obj.metainfo.dom_markedup[k]) { + switch (obj.metainfo.dom_structure_markedup_tags_status[k]) { case DomTags.close : toc ~= "\n </navPoint>"; break; |