aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_epub.d
diff options
context:
space:
mode:
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);