From f9a3798edb3b0b33a98a306619a228bb79c55ee8 Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Tue, 17 Sep 2024 21:15:59 +1000 Subject: [PATCH] Escape first %s in string format, no need to template in %s... --- src/lua/scripts/templates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua/scripts/templates.lua b/src/lua/scripts/templates.lua index 59172e3..6eb9fe0 100644 --- a/src/lua/scripts/templates.lua +++ b/src/lua/scripts/templates.lua @@ -114,12 +114,12 @@ else end _M.captcha_section = string.format([[ - %s + %%s
-]], "%s", captcha_classname, captcha_sitekey, captcha_script_src) +]], captcha_classname, captcha_sitekey, captcha_script_src) return _M