mirror of
https://github.com/lucaspalomodevelop/JSSTE.git
synced 2026-03-13 15:24:34 +00:00
delete empty vars
This commit is contained in:
parent
b2a81e25f4
commit
edfa707f98
@ -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),"");;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user