improve dollar escape

This commit is contained in:
Mitsuhiro Tanda
2015-08-30 14:59:58 +09:00
parent 7229c59b8e
commit 8c5a28c0b8

View File

@@ -116,7 +116,7 @@ function (angular, _) {
.keys(d)
.each(function(k) {
var v = d[k];
result[k.replace(/\$/g, '\\$')] = v.replace(/\$/g, '\\$');
result[k.replace(/\$/g, '\uFF04')] = v.replace(/\$/g, '\$');
});
return result;