Skip to content

Releases: wavetermdev/htmltoken

htmltoken v0.2.0 release

02 Nov 17:50
Compare
Choose a tag to compare

For v0.2.0 we made a more radical change to the tokenizer package.

We added a new syntax to allow attributes to be set with '{}' syntax.
Any valid JSON expression is allowed within the curly brackets (this more
closely matches JSX syntax).

<div data-num={5}></div>

To support proper decoding in the client, attributes now have a an IsJson bool field
which is set to true if an attribute was parsed with the new {} syntax.

If you only need the case-sensitive tokenization for tags/attributes it is
recommended to use v0.1.0 and not v0.2.0.

htmltoken v0.1.0 release

23 Jul 20:11
Compare
Choose a tag to compare
initial commit