aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-05-01 14:06:33 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitfdae61a4993534b6b0c3bb1d0187c59fe276ff13 (patch)
tree2e8529704d9191567e87dcdaca594c77184380dc
parentblurb markup, more like para (diff)
epub3, enable tables
-rw-r--r--org/output_xmls.org5
-rw-r--r--src/sdp/output/epub3.d5
2 files changed, 4 insertions, 6 deletions
diff --git a/org/output_xmls.org b/org/output_xmls.org
index 5855d65..6ac5c76 100644
--- a/org/output_xmls.org
+++ b/org/output_xmls.org
@@ -2290,9 +2290,8 @@ void outputEPub3(D,I)(
doc_epub3[segment_filename] ~= xhtml_format.code(obj, _txt);
break;
case "table":
- auto t = xhtml_format.para_seg(obj, _txt, suffix);
- doc_epub3[segment_filename] ~= t[0];
- doc_epub3_endnotes[segment_filename] ~= t[1];
+ doc_epub3[segment_filename] ~= xhtml_format.table(obj, _txt);
+ doc_epub3_endnotes[segment_filename] ~= "";
break;
default:
if ((doc_matters.opt.action.debug_do)) {
diff --git a/src/sdp/output/epub3.d b/src/sdp/output/epub3.d
index 131d6f9..15e3d35 100644
--- a/src/sdp/output/epub3.d
+++ b/src/sdp/output/epub3.d
@@ -437,9 +437,8 @@ template outputEPub3() {
doc_epub3[segment_filename] ~= xhtml_format.code(obj, _txt);
break;
case "table":
- auto t = xhtml_format.para_seg(obj, _txt, suffix);
- doc_epub3[segment_filename] ~= t[0];
- doc_epub3_endnotes[segment_filename] ~= t[1];
+ doc_epub3[segment_filename] ~= xhtml_format.table(obj, _txt);
+ doc_epub3_endnotes[segment_filename] ~= "";
break;
default:
if ((doc_matters.opt.action.debug_do)) {