commit 8e711c6

myu be you  ·  2026-12-01 07:37:13 +0000 UTC
parent 9d3e306
apply iglt's patch
2 files changed,  +3, -3
+1, -1
1@@ -65,7 +65,7 @@ the format string used for nav links
2 .It Va LINKCURR
3 the format string used for the currently active nav link
4 .It Va AFTER
5-an array of shell commands to ruun after a successful build
6+an array of shell commands to run after a successful build
7 .El
8 .Sh TEMPLATES
9 .Nm
+2, -2
 1@@ -695,8 +695,8 @@ end
 2 local function unescape_special_chars(t)
 3    local tin = t
 4    for k,v in pairs(escape_table) do
 5-      k = k:gsub("%%", "%%%%")
 6-      t = t:gsub(v,k)
 7+      local mu = k:gsub("%%", "%%%%")
 8+      t = t:gsub(v,mu)
 9    end
10    if t ~= tin then t = unescape_special_chars(t) end
11    return t