aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output/sqlite.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/output/sqlite.d')
-rw-r--r--src/sdp/output/sqlite.d46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/sdp/output/sqlite.d b/src/sdp/output/sqlite.d
index 636fe6f..f805392 100644
--- a/src/sdp/output/sqlite.d
+++ b/src/sdp/output/sqlite.d
@@ -158,7 +158,7 @@ template SQLiteFormatAndLoadObject() {
return _txt;
}
auto munge_html(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _html_special_characters(string _txt){
_txt = _txt
@@ -240,7 +240,7 @@ template SQLiteFormatAndLoadObject() {
return _txt;
}
auto html_heading(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _txt = munge_html(obj);
string o = format(q"¶<p class="%s"><b>
@@ -252,7 +252,7 @@ template SQLiteFormatAndLoadObject() {
return o;
}
auto html_para(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _txt = munge_html(obj);
_txt = (obj.attrib.bullet) ? ("●&#160;&#160;" ~ _txt) : _txt;
@@ -267,7 +267,7 @@ template SQLiteFormatAndLoadObject() {
return o;
}
auto html_quote(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _txt = munge_html(obj);
string o = format(q"¶<p class="%s">
@@ -279,7 +279,7 @@ template SQLiteFormatAndLoadObject() {
return o;
}
auto html_group(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _txt = munge_html(obj);
string o = format(q"¶<p class="%s">
@@ -291,7 +291,7 @@ template SQLiteFormatAndLoadObject() {
return o;
}
auto html_block(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _txt = munge_html(obj);
string o = format(q"¶
@@ -302,7 +302,7 @@ template SQLiteFormatAndLoadObject() {
return o;
}
auto html_verse(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _txt = munge_html(obj);
string o = format(q"¶<p class="%s">%s</p>¶",
@@ -312,7 +312,7 @@ template SQLiteFormatAndLoadObject() {
return o;
}
auto html_code(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _txt = html_special_characters_code(obj.text);
string o = format(q"¶<p class="%s">%s</p>¶",
@@ -322,10 +322,10 @@ template SQLiteFormatAndLoadObject() {
return o;
}
auto html_table(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
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);
@@ -382,21 +382,21 @@ template SQLiteFormatAndLoadObject() {
return o;
}
auto sqlite_load_string(O,Dm)(
- auto return ref const O obj,
- auto return ref Dm doc_matters,
+ auto ref const O obj,
+ auto ref Dm doc_matters,
) {
string o;
return o;
}
auto postgresql_load_string(O,Dm)(
- auto return ref const O obj,
- auto return ref Dm doc_matters,
+ auto ref const O obj,
+ auto ref Dm doc_matters,
) {
string o;
return o;
}
string sqlite_statement(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _html,
) {
@@ -410,7 +410,7 @@ template SQLiteFormatAndLoadObject() {
return _sql;
}
auto heading(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string[string] obj_txt = [
"text": generic_munge_sanitize_text_for_search(obj.text),
@@ -429,7 +429,7 @@ template SQLiteFormatAndLoadObject() {
return obj_txt;
}
auto para(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string[string] obj_txt = [
"text": generic_munge_sanitize_text_for_search(obj.text),
@@ -448,7 +448,7 @@ template SQLiteFormatAndLoadObject() {
return obj_txt;
}
auto quote(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string[string] obj_txt = [
"text": generic_munge_sanitize_text_for_search(obj.text),
@@ -467,7 +467,7 @@ template SQLiteFormatAndLoadObject() {
return obj_txt;
}
auto group(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string[string] obj_txt = [
"text": generic_munge_sanitize_text_for_search(obj.text),
@@ -486,7 +486,7 @@ template SQLiteFormatAndLoadObject() {
return obj_txt;
}
auto block(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string[string] obj_txt = [
"text": generic_munge_sanitize_text_for_search(obj.text),
@@ -505,7 +505,7 @@ template SQLiteFormatAndLoadObject() {
return obj_txt;
}
auto verse(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string[string] obj_txt = [
"text": generic_munge_sanitize_text_for_search(obj.text),
@@ -524,7 +524,7 @@ template SQLiteFormatAndLoadObject() {
return obj_txt;
}
auto code(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string[string] obj_txt = [
"text": generic_munge_sanitize_text_for_search(obj.text),
@@ -543,7 +543,7 @@ template SQLiteFormatAndLoadObject() {
return obj_txt;
}
auto table(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string[string] obj_txt = [
"text": generic_munge_sanitize_text_for_search(obj.text),