diff options
Diffstat (limited to 'Mailman/htmlformat.py')
| -rw-r--r-- | Mailman/htmlformat.py | 8 |
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' |
