~mdw
/
chopwood
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format.py: Allow general format controls more widely.
[chopwood]
/
cgi.py
diff --git
a/cgi.py
b/cgi.py
index
531a49c
..
26295e0
100644
(file)
--- a/
cgi.py
+++ b/
cgi.py
@@
-197,7
+197,8
@@
def set_template_keywords():
package = PACKAGE,
version = VERSION,
script = CFG.SCRIPT_NAME,
package = PACKAGE,
version = VERSION,
script = CFG.SCRIPT_NAME,
- static = CFG.STATIC)
+ static = CFG.STATIC,
+ allowop = CFG.ALLOWOP)
class TemplateFinder (object):
"""
class TemplateFinder (object):
"""
@@
-230,7
+231,7
@@
class FormatHTML (F.SimpleFormatOperation):
"""
~H: escape output suitable for inclusion in HTML.
"""
~H: escape output suitable for inclusion in HTML.
- With `:',
instead apply form-urlencoding
.
+ With `:',
additionally apply quotification
.
"""
def _convert(me, arg):
if me.colonp: return html_quotify(arg)
"""
def _convert(me, arg):
if me.colonp: return html_quotify(arg)