Add support for HTMX and Unpoly tags
This PR adds the necessary support to render HTML for the Unpoly and HTMX libraries.
The biggest change is adding util.novalue which can be set as the attribute of a class to make it render in HTML without a value.
It also adds hx_ and up_ as prefixes for attributes to be converted from underscores to dashes.
Have a look also in this pull request.
https://github.com/Knio/dominate/pull/203
In the past I have not accepted any 3rd-party integrations (and still don't wish to in the main library), but would like to find a middle ground. Please see #210 if you'd like to continue this PR
@Knio this is a great library, thanks for all the leg work you have done to get it to this point. I didn't realize until I started using it how much I've been longing to get away from Jinja templates and raw HTML.
but would like to find a middle ground. Please see https://github.com/Knio/dominate/pull/210 if you'd like to continue this PR
I add some comments to the PR that I think, with minor changes, would make it a good middle ground. Almost no additional burden on dominate from a support perspective but all the flexibility needed to support any library that uses custom attribute prefixes for functionality.