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.1.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for html_generators-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3f91bdcbae4959e841db19d347f171a581a32dfafe8bbc730b25c0c1ef4d55b |
|
MD5 | db7b60438ea77be0aa2e331ea66a5e09 |
|
BLAKE2b-256 | 276bfa13b67288b92a0f72032e23abfe9ff40a225d1be9818f481bc47d202c50 |