summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-07 20:58:10 +0000
committerSteven Barth <steven@midlink.org>2008-07-07 20:58:10 +0000
commita41f33ba0188f897c6277cb23f9371749d2403f5 (patch)
treec6fdad00ce7ebb2b45f630afaa62d65d00f8da37 /libs/web/luasrc
parent715ae856271d1b0a9bce7c517a562a00ef38bd3f (diff)
libs/web: Added template comments
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r--libs/web/luasrc/template.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/web/luasrc/template.lua b/libs/web/luasrc/template.lua
index f7dcb56028..e5a4884ce5 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