henix / slt2

a simple Lua template processor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simplify slt2.loadfile

rafis opened this issue · comments

Is this line needed?
If not you can simplify two lines to:

 return slt2.loadstring(all, start_tag, end_tag, filename)

You are right, thanks!