github maragudk/gomponents v0.11.0
Render correct HTML5

latest releases: v1.3.0, v1.2.0, v1.1.0...
pre-release5 years ago

⚠️ Breaking: The rendering is changed to correctly render HTML5. This includes not rendering an end tag for void elements (see https://dev.w3.org/html5/spec-LC/syntax.html#void-elements), and always rendering an end tag for all other elements. This means that <script> and <textarea> elements now render and work as expected, and that elements like <hr> and <br> render without a slash in them.

Also breaking: The Placer interface has been removed. Implement Type() NodeType instead if you need to create e.g. attribute helpers.

Don't miss a new gomponents release

NewReleases is sending notifications on new releases.