diff options
-rw-r--r-- | libs/web/luasrc/template.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/web/luasrc/template.lua b/libs/web/luasrc/template.lua index f7dcb5602..e5a4884ce 100644 --- a/libs/web/luasrc/template.lua +++ b/libs/web/luasrc/template.lua @@ -102,6 +102,8 @@ function compile(template) end elseif p == "=" then re = r_pexec:format(v:sub(2)) + elseif p == "#" then + re = "" else re = r_exec:format(v) end |