Releases: straker/html-tagged-template
Releases · straker/html-tagged-template
v2.2.0
v2.1.0
v2.0.2
v2.0.1
2.0.0
Major:
- change return type for sibling nodes to be a
DocumentFragment
rather than an array. Makes it much easier to work with as inserting the value into the DOM is as simple asdocument.body.appendChild(el)
Minor:
- resolve #9 and #14 by doing a regex parse of the attributes manually. Since the string has already gone through the HTML parser, the
outerHTML
is structured as valid DOM so spaces between attributes are required. - add contextual auto-escaping as per https://developers.google.com/closure/templates/docs/security
- DOM Level 0 event properties
- URIs and URLs
- HTML value encoding
- add tests for contextual auto-escaping
- switch to use
const
andlet
- add comments and spacing for better visual organization
- fixed sauce connect and coveralls reporting