aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output/xmls.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-07-08 12:42:44 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:15 -0400
commitb37b6ca37e7922ad38e712632b1c5ce358e81a7d (patch)
tree3020fe7afd6518d23e1ee97b34c67c98fc6f0955 /src/sdp/output/xmls.d
parentcosmetic (diff)
reconsider unecessary "return ref"
Diffstat (limited to 'src/sdp/output/xmls.d')
-rw-r--r--src/sdp/output/xmls.d62
1 files changed, 31 insertions, 31 deletions
diff --git a/src/sdp/output/xmls.d b/src/sdp/output/xmls.d
index e977e6c..e389c5c 100644
--- a/src/sdp/output/xmls.d
+++ b/src/sdp/output/xmls.d
@@ -51,7 +51,7 @@ template outputXHTMLs() {
return delimit;
}
string special_characters(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt
){
_txt = (_txt)
@@ -312,7 +312,7 @@ template outputXHTMLs() {
return o;
}
auto inline_images(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "seg",
@@ -335,7 +335,7 @@ template outputXHTMLs() {
return _txt;
}
auto inline_links(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "seg",
@@ -381,7 +381,7 @@ template outputXHTMLs() {
return _txt;
}
auto inline_notes_scroll(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
if (obj.has.inline_notes_reg) {
@@ -404,7 +404,7 @@ template outputXHTMLs() {
return _txt;
}
auto inline_notes_seg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
string[] _endnotes;
@@ -443,7 +443,7 @@ template outputXHTMLs() {
return t;
}
auto inline_markup_scroll(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
) {
@@ -453,7 +453,7 @@ template outputXHTMLs() {
return _txt;
}
auto inline_markup_seg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "seg",
@@ -464,7 +464,7 @@ template outputXHTMLs() {
return t;
}
string lev4_heading_subtoc(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
char[] lev4_subtoc;
lev4_subtoc ~= " <div class=\"nav\">\n";
@@ -490,7 +490,7 @@ template outputXHTMLs() {
return lev4_subtoc.to!string;
}
auto nav_pre_next_svg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string prev, next, toc;
if (obj.tags.segment_anchor_tag == "toc") {
@@ -567,7 +567,7 @@ template outputXHTMLs() {
return bar();
}
auto heading(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _xml_type = "html",
) {
@@ -616,7 +616,7 @@ template outputXHTMLs() {
return o;
}
auto heading_scroll(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
) {
@@ -626,7 +626,7 @@ template outputXHTMLs() {
return o;
}
auto heading_seg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -642,7 +642,7 @@ template outputXHTMLs() {
return u;
}
auto para(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
auto tags = _xhtml_anchor_tags(obj.tags.anchor_tags);
@@ -681,7 +681,7 @@ template outputXHTMLs() {
return o;
}
auto para_scroll(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
) {
@@ -691,7 +691,7 @@ template outputXHTMLs() {
return o;
}
auto para_seg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -707,7 +707,7 @@ template outputXHTMLs() {
return u;
}
auto quote(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
_txt = font_face(_txt);
@@ -738,7 +738,7 @@ template outputXHTMLs() {
return o;
}
auto quote_scroll(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
) {
@@ -748,7 +748,7 @@ template outputXHTMLs() {
return o;
}
auto quote_seg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -764,7 +764,7 @@ template outputXHTMLs() {
return u;
}
auto group(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
_txt = font_face(_txt);
@@ -795,7 +795,7 @@ template outputXHTMLs() {
return o;
}
auto group_scroll(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -806,7 +806,7 @@ template outputXHTMLs() {
return o;
}
auto group_seg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -822,7 +822,7 @@ template outputXHTMLs() {
return u;
}
auto block(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
_txt = font_face(_txt);
@@ -849,7 +849,7 @@ template outputXHTMLs() {
return o;
}
auto block_scroll(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -860,7 +860,7 @@ template outputXHTMLs() {
return o;
}
auto block_seg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -876,7 +876,7 @@ template outputXHTMLs() {
return u;
}
auto verse(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
_txt = font_face(_txt);
@@ -903,7 +903,7 @@ template outputXHTMLs() {
return o;
}
auto verse_scroll(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -914,7 +914,7 @@ template outputXHTMLs() {
return o;
}
auto verse_seg(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _suffix = ".html",
string _xml_type = "html",
@@ -930,7 +930,7 @@ template outputXHTMLs() {
return u;
}
auto tablarize(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
string[] _table_rows = (_txt).split(rgx.table_delimiter_row);
@@ -963,7 +963,7 @@ template outputXHTMLs() {
return t;
}
auto table(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
auto tags = _xhtml_anchor_tags(obj.tags.anchor_tags);
@@ -992,7 +992,7 @@ template outputXHTMLs() {
return o;
}
auto endnote(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
string o;
@@ -1007,7 +1007,7 @@ template outputXHTMLs() {
return o;
}
auto code(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
) {
string o;