#html #markup #html-template #html5ever #tidy #template

html5ever-arena-dom

Parse templates, and tidy them up using html5ever

4 releases

0.2.0 Apr 4, 2025
0.1.2 Apr 22, 2023
0.1.1 Jun 5, 2022
0.1.0 Jul 30, 2021

#1761 in Web programming

Download history 134/week @ 2025-04-02

134 downloads per month
Used in askama-plus-html5ever

MIT/Apache

26KB
503 lines

A simple library to parse templates, and tidy them up using html5ever.

This library simply extracts and combines two usage examples of html5ever, and makes them re-usable. It is mostly meant to be used with template engines such as Askama or nate, which use fmt::Write to output their generated HTML data.

Dependencies

~1.3–7MB
~52K SLoC