From a41f33ba0188f897c6277cb23f9371749d2403f5 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 7 Jul 2008 20:58:10 +0000 Subject: libs/web: Added template comments --- libs/web/luasrc/template.lua | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3