summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-03-22 04:24:41 +0000
committerbwarsaw2000-03-22 04:24:41 +0000
commitc46a01a36e8a7079f00ec2779afe43a3fc34ba1f (patch)
tree3e0c8b861a103af6ac27f7e5e2c9e16942c56d26
parentaf602f6847e96918634589dd1b5aa90dab092183 (diff)
downloadmailman-c46a01a36e8a7079f00ec2779afe43a3fc34ba1f.tar.gz
mailman-c46a01a36e8a7079f00ec2779afe43a3fc34ba1f.tar.zst
mailman-c46a01a36e8a7079f00ec2779afe43a3fc34ba1f.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 f1fbccffb..329afc6fa 100644
--- a/Mailman/htmlformat.py
+++ b/Mailman/htmlformat.py
@@ -121,7 +121,7 @@ class Table:
output = output + ' NOWRAP'
continue
else:
- output = output + ' %s=%s' %(string.upper(key), val)
+ output = output + ' %s="%s"' %(string.upper(key), val)
return output
@@ -132,7 +132,7 @@ class Table:
for (key, val) in info.items():
if not key in valid_mods:
continue
- output = output + ' %s=%s' %(string.upper(key), val)
+ output = output + ' %s="%s"' %(string.upper(key), val)
return output
@@ -149,7 +149,7 @@ class Table:
output = output + ' BORDER'
continue
else:
- output = output + ' %s=%s' %(string.upper(key), val)
+ output = output + ' %s="%s"' %(string.upper(key), val)
return output
@@ -284,7 +284,7 @@ class Document(Container):
else:
output = output + '>\n'
output = output + Container.Format(self, indent)
- output = output + '%s</html>\n' % spaces
+ output = output + '%s</body>\n%s</html>\n' % (spaces, spaces)
return output
class HeadlessDocument(Document):