diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-03-24 12:38:41 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-04-03 18:13:50 -0400 |
commit | e2424c06d3bfa552f35fb288429c3ef4e5357cc7 (patch) | |
tree | c1d8aefd2ce9acc7760a4eb9dbef1eea3afa3c66 /src/doc_reform/io_out/epub3.d | |
parent | latex, pagebreaks, make headers, consider (diff) |
latex output (try tidy); linebreaks more generally
Diffstat (limited to 'src/doc_reform/io_out/epub3.d')
-rw-r--r-- | src/doc_reform/io_out/epub3.d | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc_reform/io_out/epub3.d b/src/doc_reform/io_out/epub3.d index 0444aed..44607f7 100644 --- a/src/doc_reform/io_out/epub3.d +++ b/src/doc_reform/io_out/epub3.d @@ -71,7 +71,8 @@ template outputEPub3() { .replaceAll(rgx.xhtml_less_than, "<") // "<" .replaceAll(rgx.xhtml_greater_than, ">") // ">" .replaceAll(rgx.br_line, "<br />") - .replaceAll(rgx.br_newline_inline, "<br />") + .replaceAll(rgx.br_line_inline, "<br />") + .replaceAll(rgx.br_line_spaced, "<br />\n<br />") .replaceAll(rgx.nbsp_char, " "); return _txt; } @@ -236,7 +237,7 @@ template outputEPub3() { </li>┃", obj.text .replaceAll(rgx.inline_notes_al_gen, "") - .replaceAll(rgx.br_newline_inline, "<br />") + .replaceAll(rgx.br_line_inline, "<br />") .strip, ); toc ~= "\n"; |