summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):