mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(util) render: clean up regexp: lazy -> greedy
This commit is contained in:
parent
260f988d2a
commit
fef6d1a078
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@
|
|||
});
|
||||
|
||||
if (~result.indexOf('{{'))
|
||||
result = result.replace(/{{.*}}/g, '');
|
||||
result = result.replace(/{{.*?}}/g, '');
|
||||
|
||||
return result;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue