From ac868b590106763c2b3223a1af5cf9f49cce6ca5 Mon Sep 17 00:00:00 2001
From: Ralph Amissah
Date: Sun, 30 Dec 2018 20:55:09 -0500
Subject: cosmetic
---
src/doc_reform/output/sqlite.d | 8 ++++----
src/doc_reform/output/xmls.d | 14 +++++++-------
2 files changed, 11 insertions(+), 11 deletions(-)
(limited to 'src/doc_reform/output')
diff --git a/src/doc_reform/output/sqlite.d b/src/doc_reform/output/sqlite.d
index d09b9b8..bf0d546 100644
--- a/src/doc_reform/output/sqlite.d
+++ b/src/doc_reform/output/sqlite.d
@@ -286,7 +286,7 @@ template SQLiteFormatAndLoadObject() {
if (obj.has.inline_links) {
if ((_txt.match(rgx.mark_internal_site_lnk))
&& (_xml_type == "scroll")) { // conditions reversed to avoid: gdc compiled program run segfault
- _txt = (_txt).replaceAll(
+ _txt = _txt.replaceAll(
rgx.inline_seg_link,
"$1");
}
@@ -340,7 +340,7 @@ template SQLiteFormatAndLoadObject() {
);
}
}
- _txt = (_txt)
+ _txt = _txt
.replaceAll(
rgx.inline_link_fn_suffix,
("$1.html"))
@@ -380,7 +380,7 @@ template SQLiteFormatAndLoadObject() {
) {
if (obj.has.inline_notes_reg) {
// _txt = font_face(_txt);
- _txt = (_txt).replaceAll(
+ _txt = _txt.replaceAll(
rgx.inline_notes_delimiter_al_regular_number_note,
(" $1 ")
);
@@ -421,7 +421,7 @@ template SQLiteFormatAndLoadObject() {
"
"
);
}
- _txt = (_txt).replaceAll(
+ _txt = _txt.replaceAll(
rgx.inline_notes_delimiter_al_regular_number_note,
(" $1 ")
);
diff --git a/src/doc_reform/output/xmls.d b/src/doc_reform/output/xmls.d
index 6a999f6..ef35e10 100644
--- a/src/doc_reform/output/xmls.d
+++ b/src/doc_reform/output/xmls.d
@@ -48,7 +48,7 @@ template outputXHTMLs() {
const O obj,
string _txt
){
- _txt = (_txt)
+ _txt = _txt
.replaceAll(rgx.xhtml_ampersand, "&")
.replaceAll(rgx.xhtml_quotation, """)
.replaceAll(rgx.xhtml_less_than, "<")
@@ -61,7 +61,7 @@ template outputXHTMLs() {
return _txt;
}
string special_characters_text(string _txt){
- _txt = (_txt)
+ _txt = _txt
.replaceAll(rgx.xhtml_ampersand, "&")
.replaceAll(rgx.xhtml_quotation, """)
.replaceAll(rgx.xhtml_less_than, "<")
@@ -70,7 +70,7 @@ template outputXHTMLs() {
return _txt;
}
string font_face(string _txt){
- _txt = (_txt)
+ _txt = _txt
.replaceAll(rgx.inline_emphasis, ("$1"))
.replaceAll(rgx.inline_bold, ("$1"))
.replaceAll(rgx.inline_underscore, ("$1"))
@@ -360,7 +360,7 @@ template outputXHTMLs() {
if (obj.has.inline_links) {
if ((_txt.match(rgx.mark_internal_site_lnk))
&& (_xml_type == "scroll")) { // conditions reversed to avoid: gdc compiled program run segfault
- _txt = (_txt).replaceAll(
+ _txt = _txt.replaceAll(
rgx.inline_seg_link,
"$1");
}
@@ -399,7 +399,7 @@ template outputXHTMLs() {
}
}
}
- _txt = (_txt)
+ _txt = _txt
.replaceAll(
rgx.inline_link_fn_suffix,
("$1" ~ _suffix))
@@ -439,7 +439,7 @@ template outputXHTMLs() {
) {
if (obj.has.inline_notes_reg) {
_txt = font_face(_txt);
- _txt = (_txt).replaceAll(
+ _txt = _txt.replaceAll(
rgx.inline_notes_delimiter_al_regular_number_note,
(" $1 ")
);
@@ -481,7 +481,7 @@ template outputXHTMLs() {
""
);
}
- _txt = (_txt).replaceAll(
+ _txt = _txt.replaceAll(
rgx.inline_notes_delimiter_al_regular_number_note,
(" $1 ")
);
--
cgit v1.2.3