diff --git a/lib/esapi.js b/lib/esapi.js index 6429351..155b6ff 100644 --- a/lib/esapi.js +++ b/lib/esapi.js @@ -1017,7 +1017,7 @@ esapi.DefaultEncoder = function(aCodecs) { while (!clean) { clean = true; - _codecs.each(function(codec) { + _codecs.forEach(function(codec) { var old = working; working = codec.decode(working);