aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_xmls.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/output_xmls.org')
-rw-r--r--org/output_xmls.org14
1 files changed, 7 insertions, 7 deletions
diff --git a/org/output_xmls.org b/org/output_xmls.org
index c58f775..e44a9c9 100644
--- a/org/output_xmls.org
+++ b/org/output_xmls.org
@@ -94,7 +94,7 @@ string special_characters(O)(
const O obj,
string _txt
){
- _txt = (_txt)
+ _txt = _txt
.replaceAll(rgx.xhtml_ampersand, "&")
.replaceAll(rgx.xhtml_quotation, """)
.replaceAll(rgx.xhtml_less_than, "<")
@@ -113,7 +113,7 @@ string special_characters(O)(
#+name: xhtml_format_objects
#+BEGIN_SRC d
string special_characters_text(string _txt){
- _txt = (_txt)
+ _txt = _txt
.replaceAll(rgx.xhtml_ampersand, "&")
.replaceAll(rgx.xhtml_quotation, """)
.replaceAll(rgx.xhtml_less_than, "<")
@@ -128,7 +128,7 @@ string special_characters_text(string _txt){
#+name: xhtml_format_objects
#+BEGIN_SRC d
string font_face(string _txt){
- _txt = (_txt)
+ _txt = _txt
.replaceAll(rgx.inline_emphasis, ("<em>$1</em>"))
.replaceAll(rgx.inline_bold, ("<b>$1</b>"))
.replaceAll(rgx.inline_underscore, ("<u>$1</u>"))
@@ -475,7 +475,7 @@ auto inline_links(M,O)(
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");
}
@@ -514,7 +514,7 @@ auto inline_links(M,O)(
}
}
}
- _txt = (_txt)
+ _txt = _txt
.replaceAll(
rgx.inline_link_fn_suffix,
("$1" ~ _suffix))
@@ -561,7 +561,7 @@ auto inline_notes_scroll(M,O)(
) {
if (obj.has.inline_notes_reg) {
_txt = font_face(_txt);
- _txt = (_txt).replaceAll(
+ _txt = _txt.replaceAll(
rgx.inline_notes_delimiter_al_regular_number_note,
("<a href=\"#note_$1\"><note id=\"noteref_$1\">&#160;<sup>$1</sup> </note></a>")
);
@@ -609,7 +609,7 @@ auto inline_notes_seg(M,O)(
"</p>"
);
}
- _txt = (_txt).replaceAll(
+ _txt = _txt.replaceAll(
rgx.inline_notes_delimiter_al_regular_number_note,
("<a href=\"#note_$1\"><note id=\"noteref_$1\">&#160;<sup>$1</sup> </note></a>")
);