Functional, streaming approach to HTML generation
Project description
html_generators
TODO - explain how to use
Escaping
In general, anything you pass as content or an attribute of an Element will be escaped.
The only exceptions are:
- Style
- Script
- Comment
Content passed to these nodes will NOT be escaped (since the escaping rules for them are more relaxed, and you often want/need to put literal '<' or '>' characters in them). You should never pass untrusted user content to these generators.
In addition, any content passed to MarkSafe will not be escaped.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html_generators-1.3.0.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for html_generators-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22e575deac2e8dd232b351800898d9b5f5b173e10419c2d5fa59d34c45cd2c14 |
|
MD5 | 6a114365b37c43f02ace07cd77471c64 |
|
BLAKE2b-256 | a699eb9291425235756671e75730d225dece96265f60978cadf90fe71581b6d6 |