aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_sqlite.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/output_sqlite.org')
-rw-r--r--org/output_sqlite.org48
1 files changed, 24 insertions, 24 deletions
diff --git a/org/output_sqlite.org b/org/output_sqlite.org
index 58e612e..e8a29bf 100644
--- a/org/output_sqlite.org
+++ b/org/output_sqlite.org
@@ -333,7 +333,7 @@ light html objects
#+name: sanitize_and_munge_inline_html
#+BEGIN_SRC d
auto munge_html(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _html_special_characters(string _txt){
_txt = _txt
@@ -440,7 +440,7 @@ string html_font_face(string _txt){
#+name: html_objects
#+BEGIN_SRC d
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>
@@ -458,7 +458,7 @@ auto html_heading(O)(
##+name: prepare_objects_html
#+BEGIN_SRC d
auto html_heading(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string o;
string _txt = munge_html(obj);
@@ -479,7 +479,7 @@ auto html_heading(O)(
#+name: html_objects
#+BEGIN_SRC d
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;
@@ -500,7 +500,7 @@ auto html_para(O)(
#+name: html_objects
#+BEGIN_SRC d
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">
@@ -518,7 +518,7 @@ auto html_quote(O)(
#+name: html_objects
#+BEGIN_SRC d
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">
@@ -536,7 +536,7 @@ auto html_group(O)(
#+name: html_objects
#+BEGIN_SRC d
auto html_block(O)(
- auto return ref const O obj,
+ auto ref const O obj,
) {
string _txt = munge_html(obj);
string o = format(q"¶
@@ -553,7 +553,7 @@ auto html_block(O)(
#+name: html_objects
#+BEGIN_SRC d
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>¶",
@@ -569,7 +569,7 @@ auto html_verse(O)(
#+name: html_objects
#+BEGIN_SRC d
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>¶",
@@ -585,10 +585,10 @@ auto html_code(O)(
#+name: html_objects
#+BEGIN_SRC d
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);
@@ -689,8 +689,8 @@ work out
#+name: sqlite_load_object
#+BEGIN_SRC d
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;
@@ -700,8 +700,8 @@ auto sqlite_load_string(O,Dm)(
#+name: sqlite_load_object
#+BEGIN_SRC d
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;
@@ -711,7 +711,7 @@ auto postgresql_load_string(O,Dm)(
#+name: sqlite_load_object
#+BEGIN_SRC d
string sqlite_statement(O)(
- auto return ref const O obj,
+ auto ref const O obj,
string _txt,
string _html,
) {
@@ -731,7 +731,7 @@ string sqlite_statement(O)(
#+name: hub_format_and_sqlite_load_objects
#+BEGIN_SRC d
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),
@@ -756,7 +756,7 @@ auto heading(O)(
#+name: hub_format_and_sqlite_load_objects
#+BEGIN_SRC d
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),
@@ -781,7 +781,7 @@ auto para(O)(
#+name: hub_format_and_sqlite_load_objects
#+BEGIN_SRC d
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),
@@ -805,7 +805,7 @@ auto quote(O)(
#+name: hub_format_and_sqlite_load_objects
#+BEGIN_SRC d
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),
@@ -830,7 +830,7 @@ auto group(O)(
#+name: hub_format_and_sqlite_load_objects
#+BEGIN_SRC d
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),
@@ -855,7 +855,7 @@ auto block(O)(
#+name: hub_format_and_sqlite_load_objects
#+BEGIN_SRC d
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),
@@ -880,7 +880,7 @@ auto verse(O)(
#+name: hub_format_and_sqlite_load_objects
#+BEGIN_SRC d
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),
@@ -905,7 +905,7 @@ auto code(O)(
#+name: hub_format_and_sqlite_load_objects
#+BEGIN_SRC d
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),