Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
htmlparser2 / test / Events / 27-entities_in_attributes.json
Size: Mime:
{
  "name": "Entities in attributes",
  "options": {
    "handler": {},
    "parser": {"decodeEntities": true}
  },
  "html": "<foo bar=&amp; baz=\"&amp;\" boo='&amp;' noo=>",
  "expected": [
    {
      "event": "opentagname",
      "data": [
        "foo"
      ]
    },
    {
      "event": "attribute",
      "data": [
        "bar",
        "&"
      ]
    },
    {
      "event": "attribute",
      "data": [
        "baz",
        "&"
      ]
    },
    {
      "event": "attribute",
      "data": [
        "boo",
        "&"
      ]
    },
    {
      "event": "attribute",
      "data": [
        "noo",
        ""
      ]
    },
    {
      "event": "opentag",
      "data": [
        "foo",
        {
          "bar": "&",
          "baz": "&",
          "boo": "&",
          "noo": ""
        }
      ]
    },
    {
      "event": "closetag",
      "data": [
        "foo"
      ]
    }
  ]
}