Browse Source

[Minor] Use `{=` and `=}` for variables in Jinja templates

tags/1.9.1
Vsevolod Stakhov 5 years ago
parent
commit
2381d38cb1
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lualib/lua_util.lua

+ 2
- 2
lualib/lua_util.lua View File

@@ -32,10 +32,10 @@ local nospace = 1 - space
local ptrim = space^0 * lpeg.C((space^0 * nospace^1)^0)
local match = lpeg.match

lupa.configure{
lupa.configure('{%', '%}', '{=', '=}', '{#', '#}', {
keep_trailing_newline = true,
autoescape = false,
}
})

lupa.filters.pbkdf = function(s)
local cr = require "rspamd_cryptobox"

Loading…
Cancel
Save