This commit is contained in:
alteredCoder 2022-01-30 16:28:00 +01:00
parent e1541f94fa
commit c1c6dc6505

View file

@ -11,7 +11,7 @@ function template.escape(data)
})
end
function template.new(template_str, args)
function template.compile(template_str, args)
for k, v in pairs(args) do
local var = "{{" .. k .. "}}"