summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-28 03:03:47 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-28 03:03:47 +0300
commit8e97cdab52b1fff57604282fd0d4b00923f43b89 (patch)
tree06396dc73f6929808667fc6854f75c69fbac454f /include
parentce28296c39d8f9e4b6a547acd151f69f15a2705f (diff)
Use the unicode isolation characters with m4
Diffstat (limited to 'include')
-rw-r--r--include/footer.html2
-rw-r--r--include/lib.m48
2 files changed, 7 insertions, 3 deletions
diff --git a/include/footer.html b/include/footer.html
index e3235e1..6b45a2c 100644
--- a/include/footer.html
+++ b/include/footer.html
@@ -1,4 +1,4 @@
-m4_define(`m4___id__', m4_esyscmd(git rev-list -1 HEAD m4___caller__))
+m4_define(⁨m4___id__⁩, m4_esyscmd(git rev-list -1 HEAD m4___caller__))
<small>
Page last edited:
<a
diff --git a/include/lib.m4 b/include/lib.m4
index 2535ed2..34cf2c3 100644
--- a/include/lib.m4
+++ b/include/lib.m4
@@ -1,9 +1,13 @@
+m4_dnl To avoid annoying conflicts with quote characters, use
+m4_dnl U+2068 FIRST STRONG ISOLATE and U+2069 POP DIRECTIONAL ISOLATE
+m4_changequote(⁨,⁩)
+
m4_define(
m4_footer,
- `m4_define(`m4___caller__', m4___file__)m4_include(footer.html)'
+ ⁨m4_define(⁨m4___caller__⁩, m4___file__)m4_include(footer.html)⁩
)
m4_define(
m4_fmt_code,
- `m4_esyscmd(fmt-code "$1" m4___file__)m4_dnl'
+ ⁨m4_esyscmd(fmt-code "$1" m4___file__)m4_dnl⁩
)