diff options
Diffstat (limited to 'src/sdp/output/xmls.d')
-rw-r--r-- | src/sdp/output/xmls.d | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/sdp/output/xmls.d b/src/sdp/output/xmls.d index 1621732..785d87e 100644 --- a/src/sdp/output/xmls.d +++ b/src/sdp/output/xmls.d @@ -100,8 +100,8 @@ template outputXHTMLs() { } return tags; } - auto header_metadata(Dm)( - Dm doc_matters, + auto header_metadata(M)( + M doc_matters, ) { string _title="Title"; string _author="Author"; @@ -149,8 +149,8 @@ template outputXHTMLs() { ); return o; } - auto site_info_button(Dm)( - Dm doc_matters, + auto site_info_button(M)( + M doc_matters, ) { string _locations; if (doc_matters.conf_make_meta.make.home_button_text.length > 0) { @@ -173,8 +173,8 @@ template outputXHTMLs() { ); return o; } - auto inline_search_form(Dm)( - Dm doc_matters, + auto inline_search_form(M)( + M doc_matters, ) { string _action="http://www.sisudoc.org/cgi-bin/search.cgi"; string _db="SiSU.7a.manual"; @@ -197,8 +197,8 @@ template outputXHTMLs() { ); return o; } - auto html_head(Dm)( - Dm doc_matters, + auto html_head(M)( + M doc_matters, string type, ) { string o; @@ -244,8 +244,8 @@ template outputXHTMLs() { ); return o; } - auto epub3_seg_head(Dm)( - Dm doc_matters, + auto epub3_seg_head(M)( + M doc_matters, ) { string html_base = format(q"¶<!DOCTYPE html> <html>¶", @@ -326,8 +326,7 @@ template outputXHTMLs() { _img_pth = "../../../image/"; } if (_txt.match(rgx.inline_image)) { - _txt = (_txt) - .replaceAll( // TODO bug where image dimensions (w or h) not given & consequently set to 0; should not be used (calculate earlier, abstraction) + _txt = _txt.replaceAll( // TODO bug where image dimensions (w or h) not given & consequently set to 0; should not be used (calculate earlier, abstraction) rgx.inline_image, ("$1<img src=\"" ~ _img_pth |