diff options
| author | bwarsaw | 1999-12-11 04:52:07 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-12-11 04:52:07 +0000 |
| commit | bc46da826975179abcb7ba773aa8b52064523fcd (patch) | |
| tree | 148fb07b22fca45bfa5ae4f73eef4578405a11d0 /Mailman/htmlformat.py | |
| parent | 10b5fa55e89f224930f9ea11680ceebb78e9be29 (diff) | |
| download | mailman-bc46da826975179abcb7ba773aa8b52064523fcd.tar.gz mailman-bc46da826975179abcb7ba773aa8b52064523fcd.tar.zst mailman-bc46da826975179abcb7ba773aa8b52064523fcd.zip | |
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' |
