From 4a0d1de4f72785f101c5db0006a931972efc4484 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 12 Jul 2018 11:56:33 -0400 Subject: html flags --- src/sdp/output/hub.d | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'src/sdp/output/hub.d') diff --git a/src/sdp/output/hub.d b/src/sdp/output/hub.d index b86d30d..b6caca9 100644 --- a/src/sdp/output/hub.d +++ b/src/sdp/output/hub.d @@ -75,15 +75,7 @@ template outputHub() { writeln("text processing... "); } } - if (doc_matters.opt.action.html) { - if ((doc_matters.opt.action.verbose)) { - writeln("html scroll processing... "); - } - outputHTML!().scroll(doc_abstraction, doc_matters); - if ((doc_matters.opt.action.verbose) - && (doc_matters.opt.action.debug_do)) { - writeln("html scroll done"); - } + if (doc_matters.opt.action.html_seg) { if ((doc_matters.opt.action.verbose)) { writeln("html seg processing... "); } @@ -94,18 +86,8 @@ template outputHub() { } outputHTML!().css(doc_matters); outputHTML!().images_cp(doc_matters); - } else if (doc_matters.opt.action.html_seg) { - if ((doc_matters.opt.action.verbose)) { - writeln("html seg processing... "); - } - outputHTML!().seg(doc_abstraction, doc_matters); - if ((doc_matters.opt.action.verbose) - && (doc_matters.opt.action.debug_do)) { - writeln("html seg done"); - } - outputHTML!().css(doc_matters); - outputHTML!().images_cp(doc_matters); - } else if (doc_matters.opt.action.html_scroll) { + } + if (doc_matters.opt.action.html_scroll) { if ((doc_matters.opt.action.verbose)) { writeln("html scroll processing... "); } -- cgit v1.2.3