@xmldom/xmldom 0.8.6 → 0.8.8

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/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
- case S_ATTR_SPACE:
306
+ break;
307
+ case S_ATTR_SPACE:
308
+ el.closed = true;
307
309
  break;
308
310
  //case S_EQ:
309
311
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmldom/xmldom",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "description": "A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.",
5
5
  "keywords": [
6
6
  "w3c",