CB-12621: reverted elementtree dep to 0.1.6

This commit is contained in:
Steve Gill
2017-04-02 17:11:17 -05:00
parent 8a2e96d995
commit 4a0f69a3f0
53 changed files with 12331 additions and 1955 deletions
+17
View File
@@ -0,0 +1,17 @@
// 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" } } ]
, [ "closetag", "SPAN" ]
]
, strict : false
, opt : {}
}
)