From 9a91485c10e059dee1374e152e4b068cd9d3866c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 5 Dec 2019 11:41:09 -0500 Subject: 0.9.2 @safe & @trusted first pass --- src/doc_reform/io_out/html.d | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/doc_reform/io_out/html.d') diff --git a/src/doc_reform/io_out/html.d b/src/doc_reform/io_out/html.d index 36e0219..458533c 100644 --- a/src/doc_reform/io_out/html.d +++ b/src/doc_reform/io_out/html.d @@ -16,7 +16,7 @@ template outputHTML() { void scroll(D,M)( const D doc_abstraction, M doc_matters, - ) { + ) @safe { mixin spineOutputRgxInit; auto xhtml_format = outputXHTMLs(); auto rgx = Rgx(); @@ -186,7 +186,7 @@ template outputHTML() { void scroll_write_output(D,M)( D doc, M doc_matters, - ) { + ) @trusted { debug(asserts) { static assert(is(typeof(doc) == string[])); } @@ -209,7 +209,7 @@ template outputHTML() { void seg(D,M)( const D doc_abstraction, M doc_matters, - ) { + ) @safe { mixin spineOutputRgxInit; auto rgx = Rgx(); auto xhtml_format = outputXHTMLs(); @@ -463,7 +463,7 @@ template outputHTML() { D doc_html, E doc_html_endnotes, M doc_matters, - ) { + ) @trusted { // @system? debug(asserts) { static assert(is(typeof(doc_html) == string[][string])); } @@ -493,7 +493,7 @@ template outputHTML() { writeln(" ", pth_html.fn_seg(doc_matters.src.filename, "toc")); } } - void css(M)(M doc_matters) { + void css(M)(M doc_matters) @safe { auto css = spineCss(doc_matters); auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language); try { @@ -510,7 +510,7 @@ template outputHTML() { } void images_cp(M)( M doc_matters, - ) { + ) @trusted { // @system { /+ (copy html images) +/ auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language); -- cgit v1.2.3