Skip to content

Commit

Permalink
保护原内容
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudcome committed Jun 23, 2016
1 parent ac8301b commit 2e2fca3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blear.classes.template",
"version": "1.0.26",
"version": "1.0.27",
"description": "指令类型模板引擎",
"scripts": {
"live": "browser-sync start --config bs-config.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ pro[_processIgnoreStatement] = function (template) {

return template.replace(reIgnore, function (source, original) {
var key = IGNORE_SEP + random.guid() + IGNORE_SEP;
the[_temporary][key] = original;
the[_temporary][key] = original.replace(/\$/g, '$$$$');
return key;
});
};
Expand Down

0 comments on commit 2e2fca3

Please sign in to comment.