html-page 0.5.0

Represent HTML using Rust types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Release notes for `html-page`

## Version 0.5.0, relased 2026-03-03

* First release with release notes. HTML generated by this version of the
  crate has passed the <https://validator.w3.org/> validator.

* Allow setting the `lang` attribute on the `html` element. Default value
  is `en`.

* Fix elements that don't have children and are know to not have children to
  use `<foo>` syntax instead of `<foo/>`.
  - <https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements#trailing-slashes-in-void-element-start-tags-do-not-mark-the-start-tags-as-self-closing>
  - <https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements#trailing-slashes-directly-preceded-by-unquoted-attribute-values>