fis-optimizer-smarty-xss
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -11,2 +11,7 @@ /* | ||
module.exports = function(content, file, conf){ | ||
fis.util.map(fis.config.get('setting.smarty'), function(key, value){ | ||
if(!conf.hasOwnProperty(key)){ | ||
conf[key] = value; | ||
} | ||
}); | ||
xss.config(conf); | ||
@@ -24,5 +29,3 @@ return xss.repair(content); | ||
'no_escape' : 'escape:none' | ||
}, | ||
'leftDelimiter' : '{%', | ||
'rightDelimiter' : '%}' | ||
} | ||
}; |
@@ -5,3 +5,3 @@ { | ||
"homepage": "http://fis.baidu.com/", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": { | ||
@@ -8,0 +8,0 @@ "name": "FIS Team", |
2462
24