aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_shared_snippets.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/default_shared_snippets.org')
-rw-r--r--org/default_shared_snippets.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/org/default_shared_snippets.org b/org/default_shared_snippets.org
index ed262e4..66041f3 100644
--- a/org/default_shared_snippets.org
+++ b/org/default_shared_snippets.org
@@ -25,6 +25,7 @@
#+BEGIN_SRC d
<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.html_snippet;
+@safe:
template htmlSnippet() {
import
std.file,
@@ -60,7 +61,7 @@ template htmlSnippet() {
);
return html_blank_default;
}
- @safe string special_characters_text(string _txt) {
+ string special_characters_text(string _txt) {
mixin spineRgxOut;
mixin spineRgxXHTML;
static auto rgx = RgxO();
@@ -90,6 +91,7 @@ template htmlSnippet() {
shared default settings
+/
module doc_reform.share.defaults;
+@safe:
<<shared_messages>>
#+END_SRC
@@ -99,7 +101,7 @@ module doc_reform.share.defaults;
#+BEGIN_SRC d
template Msg() {
import std.stdio;
- @safe auto Msg(I)(I doc_matters) {
+ auto Msg(I)(I doc_matters) {
struct Msg_ {
void v()(string message) {
if (doc_matters.opt.action.vox_gt1) {