Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | ||
commands.py | ||
context.py | ||
init.py | ||
loader.py | ||
template.py | ||
view.py |
From the issue: The constructor `Template.__init__()` should accept an optional `escape` function argument instead of the boolean `disable_escape`. This is more natural. Examples: * Users wanting to disable escaping can pass `lambda s: s`. * Non-markupsafe users wanting double-quotes escaped can pass `lambda s: cgi.escape(s, True)`. The cgi.escape() function doesn't escape double-quotes by default. * Similarly, markupsafe users can specify an alternative to `markupsafe.escape()`.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | Loading commit data... | |
commands.py | Loading commit data... | |
context.py | Loading commit data... | |
init.py | Loading commit data... | |
loader.py | Loading commit data... | |
template.py | Loading commit data... | |
view.py | Loading commit data... |