aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/html.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-12-03 22:11:59 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2021-12-03 22:17:58 -0500
commitbb03ff22fa3af8b731a591fd450b85c5c0c57f02 (patch)
treee89e74aa6e619fd25ca18c24997bbd062e6e2ba0 /src/doc_reform/io_out/html.d
parentxmls, html header band (diff)
metaverse, xml dom close eof
Diffstat (limited to 'src/doc_reform/io_out/html.d')
-rw-r--r--src/doc_reform/io_out/html.d13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/doc_reform/io_out/html.d b/src/doc_reform/io_out/html.d
index d314ed4..adf15a5 100644
--- a/src/doc_reform/io_out/html.d
+++ b/src/doc_reform/io_out/html.d
@@ -193,6 +193,9 @@ template outputHTML() {
case "blurb": assert(part == "blurb");
doc_html ~= xhtml_format.para_scroll(_txt, obj, doc_matters, suffix);
break;
+ case "tail": assert(part == "tail");
+ doc_html ~= xhtml_format.para_scroll(_txt, obj, doc_matters, suffix);
+ break;
default:
{ /+ debug +/
if (doc_matters.opt.action.debug_do
@@ -228,7 +231,10 @@ template outputHTML() {
}
}
}
- doc = xhtml_format.html_head(doc_matters, "scroll") ~ doc_html ~ xhtml_format.tail;
+ doc = xhtml_format.html_head(doc_matters, "scroll")
+ ~ doc_html
+ ~ xhtml_format.dom_close
+ ~ xhtml_format.tail;
scroll_write_output(doc, doc_matters);
}
@trusted void scroll_write_output(D,M)(
@@ -471,6 +477,11 @@ template outputHTML() {
doc_html[segment_filename] ~= t[0];
doc_html_endnotes[segment_filename] ~= t[1];
break;
+ case "tail": assert(part == "tail");
+ t = xhtml_format.para_seg(_txt, obj, doc_matters, suffix, "seg");
+ doc_html[segment_filename] ~= t[0];
+ doc_html_endnotes[segment_filename] ~= t[1];
+ break;
default:
{ /+ debug +/
if (doc_matters.opt.action.debug_do