1 | // https://github.com/isaacs/sax-js/issues/35
|
2 | require(__dirname).test
|
3 | ( { xml : "<xml>

\n"+
|
4 | "</xml>"
|
5 |
|
6 | , expect :
|
7 | [ [ "opentag", { name: "xml", attributes: {} } ]
|
8 | , [ "text", "\r\r\n" ]
|
9 | , [ "closetag", "xml" ]
|
10 | ]
|
11 | , strict : true
|
12 | , opt : {}
|
13 | }
|
14 | )
|
15 |
|