Sha256: 277dcdc4b6d40c031641fe86ce60115bde27271ab4f8242b24a57505cda51b73

Contents?: true

Size: 710 Bytes

Versions: 3

Compression:

Stored size: 710 Bytes

Contents

{
  "name": "entity in attribute",
  "options": {
    "handler": {},
    "parser": {"decodeEntities": true}
  },
  "html": "<a href='http://example.com/p&#x61;ge?param=value&param2&param3=&lt;val&; & &'>",
  "expected": [
    {
      "event": "opentagname",
      "data": [
        "a"
      ]
    },
    {
      "event": "attribute",
      "data": [
        "href",
        "http://example.com/page?param=value&param2&param3=<val&; & &"
      ]
    },
    {
      "event": "opentag",
      "data": [
        "a",
        {
          "href": "http://example.com/page?param=value&param2&param3=<val&; & &"
        }
      ]
    },
    {
      "event": "closetag",
      "data": [
        "a"
      ]
    }
  ]
}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/htmlparser2/test/Events/21-entity_in_attribute.json
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/htmlparser2/test/Events/21-entity_in_attribute.json
exercism-analysis-0.1.1 vendor/javascript/node_modules/jshint/node_modules/htmlparser2/test/Events/21-entity_in_attribute.json