Skip to content

Releases: observablehq/htl

v0.3.1

24 Sep 19:07
e3e9777
Compare
Choose a tag to compare
  • Fix string coercion. #36

v0.3.0

09 Jun 01:57
275b9aa
Compare
Choose a tag to compare
  • Adopt type: module.
  • Update dependencies.
  • Make build reproducible.
  • Expose htl.version. #30

This package now requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.

v0.2.5

06 Feb 18:20
30af69d
Compare
Choose a tag to compare
  • Support CSS custom properties with style objects. #28

v0.2.4

02 Feb 05:08
e9fed6b
Compare
Choose a tag to compare
  • Use document.importNode to ensure correct rendering in Safari. #26

v0.2.3

10 Jan 22:31
c023a41
Compare
Choose a tag to compare
  • Implicitly case-correct SVG spread attributes. #7
  • Implicitly apply namespaces to foreign SVG spread attributes. #8

v0.2.2

10 Jan 18:48
42f7c0a
Compare
Choose a tag to compare
  • Fix interpolation of empty strings into unquoted attribute values.

v0.2.1

10 Jan 00:55
63ee17d
Compare
Choose a tag to compare
  • Fix interpolation into raw text elements (script, style, textarea, and title). #6 #18
  • Add tests!
  • Update rollup.

Thanks to @tomlarkworthy and @clarkevans for the help!

v0.2.0

10 Jan 00:46
Compare
Choose a tag to compare
  • Switch to raw input; backslashes no longer need to be escaped.

v0.1.0

20 Feb 16:01
Compare
Choose a tag to compare
  • Escape ampersands in attribute values. #12
  • Change html to wrap in an implicit SPAN rather than return a DocumentFragment.
  • Change svg to wrap in an implicit G rather than return a DocumentFragment.
  • Add {html,svg}.fragment for generating a DocumentFragment. #10