code: function shouldDecode (content, encoded) {
    var div = document.createElement('div');
    div.innerHTML = "<div a=\"" + content + "\">";
    return div.innerHTML.indexOf(encoded) > 0
  }
docs: /* check whether current browser encodes a char inside attribute values