diff options
author | Steven Barth <steven@midlink.org> | 2008-07-07 20:58:10 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-07 20:58:10 +0000 |
commit | a41f33ba0188f897c6277cb23f9371749d2403f5 (patch) | |
tree | c6fdad00ce7ebb2b45f630afaa62d65d00f8da37 /libs/web/luasrc/template.lua | |
parent | 715ae856271d1b0a9bce7c517a562a00ef38bd3f (diff) |
libs/web: Added template comments
Diffstat (limited to 'libs/web/luasrc/template.lua')
-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 |