skubalj / build_html

Library for basic server-side rendering written in pure rust https://crates.io/crates/build_html
MIT License
29 stars 5 forks source link

Add support for HTML versions #5

Closed skubalj closed 1 year ago

skubalj commented 1 year ago

Add support for multiple versions of HTML. Compared to #4, this implementation is a bit more flexible and should allow us to add more versions over time if necessary. I think that having the user set their version once when the page is created is more elegant than having to coordinate between setting the doctype and the attributes for the html tag separately.

charleschege commented 1 year ago

This is great. It works for my needs.

I look forward to a new release

xorapps commented 1 year ago

please can you push a new release to crate.io

skubalj commented 1 year ago

Until I publish v2.3.0 to crates.io, you can pull from the main branch with:

regex = { git = "https://github.com/skubalj/build_html" }

It looks like there's still some open issues that I'd like to roll up into the next release.