From fdae61a4993534b6b0c3bb1d0187c59fe276ff13 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 1 May 2018 14:06:33 -0400 Subject: epub3, enable tables --- org/output_xmls.org | 5 ++--- src/sdp/output/epub3.d | 5 ++--- 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)) { -- cgit v1.2.3