@xmldom/xmldom 0.7.10 → 0.7.12
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/dom.js +2 -2
- package/lib/entities.js +2137 -244
- 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.7.12](https://github.com/xmldom/xmldom/compare/0.7.11...0.7.12)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- fix: Set nodeName property in ProcessingInstruction [`#509`](https://github.com/xmldom/xmldom/pull/509) / [`#505`](https://github.com/xmldom/xmldom/issues/505)
|
|
12
|
+
|
|
13
|
+
Thank you, [@cjbarth](https://github.com/cjbarth), for your contributions
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [0.7.11](https://github.com/xmldom/xmldom/compare/0.7.10...0.7.11)
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- extend list of HTML entities [`#489`](https://github.com/xmldom/xmldom/pull/489)
|
|
21
|
+
|
|
22
|
+
Thank you, [@zorkow](https://github.com/zorkow), for your contributions
|
|
23
|
+
|
|
24
|
+
|
|
7
25
|
## [0.7.10](https://github.com/xmldom/xmldom/compare/0.7.9...0.7.10)
|
|
8
26
|
|
|
9
27
|
### Fixed
|
package/lib/dom.js
CHANGED
|
@@ -1136,8 +1136,8 @@ Document.prototype = {
|
|
|
1136
1136
|
createProcessingInstruction : function(target,data){
|
|
1137
1137
|
var node = new ProcessingInstruction();
|
|
1138
1138
|
node.ownerDocument = this;
|
|
1139
|
-
node.tagName = node.target = target;
|
|
1140
|
-
node.nodeValue= node.data = data;
|
|
1139
|
+
node.tagName = node.nodeName = node.target = target;
|
|
1140
|
+
node.nodeValue = node.data = data;
|
|
1141
1141
|
return node;
|
|
1142
1142
|
},
|
|
1143
1143
|
createAttribute : function(name){
|