chiark
/
gitweb
/
~mdw
/
chopwood
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b40d16b
)
cgi.py: Fix documentation for `~:H' format operation.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Mar 2013 01:12:09 +0000
(
01:12
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Mar 2013 01:12:09 +0000
(
01:12
+0000)
Once upon a time it was going to do form-urlencoding, but it turns out
that quotification is much more useful.
cgi.py
patch
|
blob
|
blame
|
history
diff --git
a/cgi.py
b/cgi.py
index 531a49cbf9df6331b9b6435476665e0bdeb82967..3b3d4417e1849d932beb37dd333b5deb808d41ff 100644
(file)
--- a/
cgi.py
+++ b/
cgi.py
@@
-230,7
+230,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)