Comparing version 1.5.0 to 1.5.1
@@ -0,1 +1,4 @@ | ||
## 1.5.1 | ||
* Fix: Qualified tag name emission in Serializer (GH [#79](https://github.com/inikulin/parse5/issues/79)). | ||
## 1.5.0 | ||
@@ -2,0 +5,0 @@ * Add: Location info for the element start and end tags (by @sakagg). |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -88,6 +88,5 @@ 'use strict'; | ||
var tn = this.treeAdapter.getTagName(node), | ||
ns = this.treeAdapter.getNamespaceURI(node), | ||
qualifiedTn = (ns === NS.HTML || ns === NS.SVG || ns === NS.MATHML) ? tn : (ns + ':' + tn); | ||
ns = this.treeAdapter.getNamespaceURI(node); | ||
this.html += '<' + qualifiedTn; | ||
this.html += '<' + tn; | ||
this._serializeAttributes(node); | ||
@@ -117,3 +116,3 @@ this.html += '>'; | ||
this._serializeChildNodes(childNodesHolder); | ||
this.html += '</' + qualifiedTn + '>'; | ||
this.html += '</' + tn + '>'; | ||
} | ||
@@ -120,0 +119,0 @@ }; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
{ | ||
"name": "parse5", | ||
"description": "WHATWG HTML5 specification-compliant, fast and ready for production HTML parsing/serialization toolset for Node and io.js.", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
408814
26
6562