htbuilder
htbuilder copied to clipboard
A purely-functional HTML builder for Python. Think JSX rather than templates.
Escaping
Thanks for a very interesting and useful library! Currently, no escaping children or attributes of inputs is done. This makes the library unsafe for general purpose use IMO. ```Python console...
I added markupsafe because i needed it. Fixes the issue https://github.com/tvst/htbuilder/issues/5
- direct invocation of setup.py is deprecated - publish wheels the publishing workflow went fine at 0.6.2 but I guess at 0.7.0 you forgot about it, forgot to tag the...
The implementation uses Python's built-in escaping to escape characters in text content. For attributes, it will also escape quotes if there is no way to express the attribute without escaping...