Name |
Last commit
|
Last update |
---|---|---|
examples | ||
pystache | ||
tests | ||
.gitignore | ||
HISTORY.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
setup.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 |
---|---|---|
examples | Loading commit data... | |
pystache | Loading commit data... | |
tests | Loading commit data... | |
.gitignore | Loading commit data... | |
HISTORY.rst | Loading commit data... | |
LICENSE | Loading commit data... | |
MANIFEST.in | Loading commit data... | |
README.rst | Loading commit data... | |
setup.py | Loading commit data... |