aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-02-26 10:41:43 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-02-26 10:41:43 +0000
commit642ca8c3a410d0fcd53d756534c22ea4c3b9013e (patch)
tree5c98d528c8f42fd27d4d6c894440736c9ba1c198 /lualib
parentc64bea53c7a7dbe0ff9a19aa6ba37bb172a5179f (diff)
downloadrspamd-642ca8c3a410d0fcd53d756534c22ea4c3b9013e.tar.gz
rspamd-642ca8c3a410d0fcd53d756534c22ea4c3b9013e.zip
[Minor] Escape liquid
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_util.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua
index a2b3862e3..ac755182b 100644
--- a/lualib/lua_util.lua
+++ b/lualib/lua_util.lua
@@ -204,7 +204,7 @@ end
-- @param {string} text text containing variables
-- @param {table} replacements key/value pairs for replacements
-- @param {boolean} skip_global_env don't export Rspamd superglobals
--- @param {boolean} is_orig use the original lupa configuration with `{{` for variables
+-- @param {boolean} is_orig use the original lupa configuration with {% raw %}`{{`{% endraw %} for variables
-- @param {table} custom_filters custom filters to use (or nil if not needed)
-- @return {string} string containing replaced values
-- @example
@@ -243,7 +243,7 @@ end
-- @param {string} filename name of file to expand
-- @param {table} replacements key/value pairs for replacements
-- @param {boolean} skip_global_env don't export Rspamd superglobals
--- @param {boolean} is_orig use the original lupa configuration with `{{` for variables
+-- @param {boolean} is_orig use the original lupa configuration with {% raw %}`{{`{% endraw %} for variables
-- @param {table} custom_filters custom filters to use (or nil if not needed)
-- @return {string} string containing replaced values
-- @example