delete empty vars

This commit is contained in:
lucaspalomodevelop 2021-04-29 20:24:16 +02:00
parent b2a81e25f4
commit edfa707f98

View File

@ -35,7 +35,7 @@ app.render = function(pagecode, templatecode) {
templatecode = replaceAll(templatecode,"<["+i+"]>",value);
}
return templatecode;
return templatecode.replace(new RegExp(/\d*<\[([A-Z])\w*\]>/g),"");;
}