Sha256: 5b1a8137435de6e9116f2e2ee6aaa3ca904cfd1fad31392e596eb6bf0fb2c082
Contents?: true
Size: 555 Bytes
Versions: 45
Compression:
Stored size: 555 Bytes
Contents
// unquoted attributes should be ok in non-strict mode // https://github.com/isaacs/sax-js/issues/31 require(__dirname).test ( { xml : "<span class=test hello=world></span>" , expect : [ [ "attribute", { name: "CLASS", value: "test" } ] , [ "attribute", { name: "HELLO", value: "world" } ] , [ "opentag", { name: "SPAN", attributes: { CLASS: "test", HELLO: "world" }, isSelfClosing: false } ] , [ "closetag", "SPAN" ] ] , strict : false , opt : {} } )
Version data entries
45 entries across 45 versions & 3 rubygems