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.7.1.tar.gz
(20.5 kB
view hashes)
Built Distribution
Close
Hashes for html_generators-1.7.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4b4f7cea043fbdc8b95b8b2c10e442465313fd5f8584a3311a1e709bbd55119 |
|
MD5 | 2f8b89f57236e8a2329c08a26ae82121 |
|
BLAKE2b-256 | 6162d6275cc7d3fa457256c4855762b0d7fe3c4eca928109f1ac17cf077f3719 |