I am able to decode a numerically encoded string containing square brackets but decode does
not catch the sq brackets.
e.g.
// numerical type encoder
encoder = new Encoder('numerical');
// not encoded ....
console.log(encoder.htmlEncode('Views [Clean]'))
output > "Views [Clean]"
// This works
console.log(encoder.htmlDecode('Views [Clean]'))
output > "Views [Clean]"
I am able to decode a numerically encoded string containing square brackets but decode does not catch the sq brackets. e.g. // numerical type encoder encoder = new Encoder('numerical'); // not encoded .... console.log(encoder.htmlEncode('Views [Clean]')) output > "Views [Clean]"
// This works console.log(encoder.htmlDecode('Views [Clean]')) output > "Views [Clean]"