Fix gui.template
This commit is contained in:
parent
2f93d38fde
commit
224f5d9aee
@ -195,7 +195,7 @@ function gui.template(name, params)
|
|||||||
text = text:gsub("if%s*=%s*\"%%{%w+}\"", "if=\"\"")
|
text = text:gsub("if%s*=%s*\"%%{%w+}\"", "if=\"\"")
|
||||||
-- remove unsolved properties: attr='%{var}'
|
-- remove unsolved properties: attr='%{var}'
|
||||||
text = text:gsub("%w+%s*=%s*'%%{%w+}'%s?", "")
|
text = text:gsub("%w+%s*=%s*'%%{%w+}'%s?", "")
|
||||||
text = text:gsub("%w+%s*=%s*\"%%{%w+}\"%s?", "")
|
text = text:gsub('%s*%S+="%%{[^}]+}"%s*', " "))
|
||||||
return text
|
return text
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user