From 94f56fab73553aae75a9e92a7707c952c1e763fc Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 4 Feb 2022 23:50:19 -0500 Subject: epub, navigation --- src/doc_reform/io_out/epub3.d | 58 +++++++++++++++++++++++++------------------ src/doc_reform/io_out/xmls.d | 1 + 2 files changed, 35 insertions(+), 24 deletions(-) (limited to 'src') diff --git a/src/doc_reform/io_out/epub3.d b/src/doc_reform/io_out/epub3.d index a49304f..efdf12c 100644 --- a/src/doc_reform/io_out/epub3.d +++ b/src/doc_reform/io_out/epub3.d @@ -71,6 +71,7 @@ template outputEPub3() { .replaceAll(rgx.xhtml_less_than, "<") // "<" .replaceAll(rgx.xhtml_greater_than, ">") // ">" .replaceAll(rgx.br_line, "
") + .replaceAll(rgx.br_newline_inline, "
") .replaceAll(rgx.nbsp_char, " "); return _txt; } @@ -183,6 +184,7 @@ template outputEPub3() { auto markup = InlineMarkup(); static auto rgx = RgxO(); string toc; + bool _new_title_set = false; string toc_head = format(q"┃ @@ -194,7 +196,7 @@ template outputEPub3() {

Contents