X-Git-Url: https://git.distorted.org.uk/~mdw/chopwood/blobdiff_plain/b40d16b214d9164e6255857a63c729c5f65b017f..77bef10fa6bce063445df4feb9ac5f678b71cb99:/cgi.py diff --git a/cgi.py b/cgi.py index 531a49c..26295e0 100644 --- a/cgi.py +++ b/cgi.py @@ -197,7 +197,8 @@ def set_template_keywords(): package = PACKAGE, version = VERSION, script = CFG.SCRIPT_NAME, - static = CFG.STATIC) + static = CFG.STATIC, + allowop = CFG.ALLOWOP) class TemplateFinder (object): """ @@ -230,7 +231,7 @@ class FormatHTML (F.SimpleFormatOperation): """ ~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)