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.5.0.tar.gz
(13.0 kB
view hashes)
Built Distribution
Close
Hashes for html_generators-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551b1002903d08b0f198a090c4d8bd929f937217b8a2034f89bf152e94196a64 |
|
MD5 | f5fcef457cd5fa38cf9d64450f52aa16 |
|
BLAKE2b-256 | 527e750267f137799c3db77a8cb56858dc209d2444b5104a743fcdfa6f4fa4b8 |