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.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/org/default_shared_snippets.org b/org/default_shared_snippets.org
index a4a09cc..acdcee0 100644
--- a/org/default_shared_snippets.org
+++ b/org/default_shared_snippets.org
@@ -26,6 +26,13 @@
<<doc_header_including_copyright_and_license>>
module sisudoc.outputs.io_out.html_snippet;
@safe:
+/+ ↓ these are at template scope, so they are visible in every scope this
+ template is mixed into: twelve of them, across the output writers.
+ Removing them leaves one consumer that was relying on the leak rather than
+ on its own imports, and that one now imports what it uses. They stay here
+ because the template's own functions need them, and narrowing them to those
+ functions is a change of its own rather than a cleanup. FIX later.
++/
template htmlSnippet() {
import std.file;
import std.outbuffer;