libs/web: Added template comments
This commit is contained in:
parent
715ae85627
commit
a41f33ba01
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue