@xmldom/xmldom 0.8.6 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/lib/sax.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.8.7](https://github.com/xmldom/xmldom/compare/0.8.6...0.8.7)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- properly parse closing where the last attribute has no value [`#485`](https://github.com/xmldom/xmldom/pull/485) / [`#486`](https://github.com/xmldom/xmldom/issues/486)
|
|
12
|
+
|
|
13
|
+
Thank you, [@bulandent](https://github.com/bulandent), for your contributions
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [0.7.10](https://github.com/xmldom/xmldom/compare/0.7.9...0.7.10)
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- properly parse closing where the last attribute has no value [`#485`](https://github.com/xmldom/xmldom/pull/485) / [`#486`](https://github.com/xmldom/xmldom/issues/486)
|
|
21
|
+
|
|
22
|
+
Thank you, [@bulandent](https://github.com/bulandent), for your contributions
|
|
23
|
+
|
|
24
|
+
|
|
7
25
|
## [0.8.6](https://github.com/xmldom/xmldom/compare/0.8.5...0.8.6)
|
|
8
26
|
|
|
9
27
|
### Fixed
|
package/lib/sax.js
CHANGED
|
@@ -303,7 +303,9 @@ function parseElementStartPart(source,start,el,currentNSMap,entityReplacer,error
|
|
|
303
303
|
el.closed = true;
|
|
304
304
|
case S_ATTR_NOQUOT_VALUE:
|
|
305
305
|
case S_ATTR:
|
|
306
|
-
|
|
306
|
+
break;
|
|
307
|
+
case S_ATTR_SPACE:
|
|
308
|
+
el.closed = true;
|
|
307
309
|
break;
|
|
308
310
|
//case S_EQ:
|
|
309
311
|
default:
|