BUGREPORT: AW.textToValue has invalid regex
File: lib/browsers/common.js
Line: 133 - 138
AW.htmlPattern = /("|&|<|>|<[^<>]*>)/gm;
AW.htmlTable = {""":"\"", "&":"&", "<":"<", ">":">"};
AW.htmlReplace = function(e){return AW.htmlTable[e] || ""};
AW.valueToText = function(v){return v ? String(v).replace(AW.textPattern, AW.textReplace) : ""};
AW.textToValue = function(t){return t ? String(t).replace(AW.htmlPattern, AW.htmlReplace) : ""};
/("|&|<|>|<[^<>]*>)/gm;
should be
/("|&|<|>|<[^<>]*>)/gm;
HTH
Md. Sheriff, Drivestream
December 16,