From: Vsevolod Stakhov Date: Mon, 26 Feb 2024 10:41:43 +0000 (+0000) Subject: [Minor] Escape liquid X-Git-Tag: 3.9.0~121 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=642ca8c3a410d0fcd53d756534c22ea4c3b9013e;p=thirdparty%2Frspamd.git [Minor] Escape liquid --- diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index a2b3862e37..ac755182b0 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