Releases: syntax-tree/hast-util-to-html
Releases · syntax-tree/hast-util-to-html
5.0.1
26 May 09:11
Compare
Sorry, something went wrong.
No results found
5.0.0
07 Nov 20:52
Compare
Sorry, something went wrong.
No results found
6e937bb Update property-information
4.0.1
18 Jul 18:52
Compare
Sorry, something went wrong.
No results found
4e8b5c8 Fix bug in non-boolean attributes being collapsed
4.0.0
17 Jul 16:25
Compare
Sorry, something went wrong.
No results found
665a075 Add support for SVG
baac1a8 Add support for minifying doctypes
3eb520f Change doctype to lowercase
3e56862 Refactor code-style
0ad3fbb Add Contribute section to readme.md
3.1.0
24 Jul 16:35
Compare
Sorry, something went wrong.
No results found
8e241c6 Add support for compiling <template>s content
3.0.1
20 Jun 09:38
Compare
Sorry, something went wrong.
No results found
3.0.0
06 Nov 17:27
Compare
Sorry, something went wrong.
No results found
1474eb0 Remove character-data, directive support
2.1.0
25 Jul 22:17
Compare
Sorry, something went wrong.
No results found
2.0.1
06 Jul 20:22
Compare
Sorry, something went wrong.
No results found
2.0.0
03 Jul 10:45
Compare
Sorry, something went wrong.
No results found
Rewrite algorithm
Changes
Output less entities in places where they aren’t needed
Features
quote — Preferred attribute quote to use
quoteSmart — Use other quote if shorter
preferUnquoted — Use no quotes if shorter
omitOptionalTags
collapseEmptyAttributes
tightSelfClosing — No space before slash in void elements
tightCommaSeparatedLists
tightAttributes — No space between quoted attributes
allowParseErrors — Smaller size by allowing parse errors
allowDangerousCharacters — Smaller size by opening up XSS vectors
Bugs
Fix stringification of numeric data attribute (data-123 instead of data123)
Refactor
Refactor code-style
Rewrite tests
Remove superfluous dot-files