@kosatyi/ejs 0.0.61 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,8 +36,9 @@ const entities = (string = '') => {
36
36
  )
37
37
  };
38
38
 
39
- const safeValue = (value, escape, check) => {
40
- return (check = value) == null ? '' : escape ? entities(check) : check
39
+ const safeValue = (value, escape) => {
40
+ const check = value;
41
+ return check == null ? '' : escape === true ? entities(check) : check
41
42
  };
42
43
 
43
44
  const each = (object, callback) => {