diff --git a/public/src/templates.js b/public/src/templates.js index cde5353824..570f9a0e5b 100644 --- a/public/src/templates.js +++ b/public/src/templates.js @@ -296,7 +296,7 @@ } if (namespace) { - template = template.replace(new RegExp("{" + namespace + "[\\s\\S]*?}", 'g'), ''); + template = template.replace(new RegExp("{" + namespace + "\\.[\\s\\S]*?}", 'g'), ''); namespace = ''; } else { // clean up all undefined conditionals @@ -322,4 +322,4 @@ module: { exports: {} } -} : module); +} : module); \ No newline at end of file