aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/html.d
diff options
context:
space:
mode:
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