summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw1999-12-11 04:52:07 +0000
committerbwarsaw1999-12-11 04:52:07 +0000
commitbc46da826975179abcb7ba773aa8b52064523fcd (patch)
tree148fb07b22fca45bfa5ae4f73eef4578405a11d0
parent10b5fa55e89f224930f9ea11680ceebb78e9be29 (diff)
downloadmailman-bc46da826975179abcb7ba773aa8b52064523fcd.tar.gz
mailman-bc46da826975179abcb7ba773aa8b52064523fcd.tar.zst
mailman-bc46da826975179abcb7ba773aa8b52064523fcd.zip
-rw-r--r--Mailman/htmlformat.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py
index 0905dabde..e51e6d1c1 100644
--- a/Mailman/htmlformat.py
+++ b/Mailman/htmlformat.py
@@ -365,16 +365,16 @@ class InputObj:
def __init__(self, name, ty, value, checked, **kws):
self.name = name
self.type = ty
- self.value = `value`
+ self.value = value
self.checked = checked
self.kws = kws
def Format(self, indent=0):
- output = '<INPUT name=%s type=%s value=%s' % (self.name, self.type,
- self.value)
+ output = '<INPUT name="%s" type="%s" value="%s"' % (
+ self.name, self.type, self.value)
for (key, val) in self.kws.items():
- output = '%s %s=%s' % (output, key, val)
+ output = '%s "%s"="%s"' % (output, key, val)
if self.checked:
output = output + ' CHECKED'