aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_epub.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-03-27 18:13:27 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit25ac32b30c6ba98b32006677e2633befaa69483a (patch)
treeb759654c0763f6ede950274e54aa775fc9e8d9f6 /src/sdp/output_epub.d
parent0.13.7 tables ao and html output, poem html output (diff)
output, move stuff about
Diffstat (limited to 'src/sdp/output_epub.d')
-rw-r--r--src/sdp/output_epub.d14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sdp/output_epub.d b/src/sdp/output_epub.d
index 3724854..2cbe885 100644
--- a/src/sdp/output_epub.d
+++ b/src/sdp/output_epub.d
@@ -274,9 +274,7 @@ template outputEPub() {
break;
case "block":
switch (obj.is_a) {
- case "poem": // double check why both poem & verse
- break;
- case "verse":
+ case "quote":
doc_epub[segment_filename] ~= xhtml_format.nugget(obj);
break;
case "group":
@@ -285,17 +283,19 @@ template outputEPub() {
case "block":
doc_epub[segment_filename] ~= xhtml_format.nugget(obj);
break;
- case "quote":
+ case "poem":
+ break;
+ case "verse":
doc_epub[segment_filename] ~= xhtml_format.nugget(obj);
break;
+ case "code":
+ doc_epub[segment_filename] ~= xhtml_format.code(obj);
+ break;
case "table":
auto t = xhtml_format.para_seg(obj, suffix);
doc_epub[segment_filename] ~= t[0];
doc_epub_endnotes[segment_filename] ~= t[1];
break;
- case "code":
- doc_epub[segment_filename] ~= xhtml_format.code(obj);
- break;
default:
if ((doc_matters.opt_action_bool["debug"])) {
writeln(__FILE__, ":", __LINE__, ": ", obj.is_a);