Fixed some validation errors
authordavyd <davyd>
Sat, 7 Feb 2004 14:29:56 +0000 (14:29 +0000)
committerdavyd <davyd>
Sat, 7 Feb 2004 14:29:56 +0000 (14:29 +0000)
XMLWriter.py

index 93ffe06..8b0118b 100644 (file)
@@ -101,7 +101,7 @@ class XHTMLWriter:
                output  +=      '<p class="body">\n'
                output  +=      item.contents
                output  +=      '\n</p>\n'
-               output  +=      '</div>'
+               output  +=      '</div>\n'
                return output
        
        def write(self):
@@ -156,6 +156,7 @@ class XHTMLWriter:
                        output  +=      open('footer.html').read()
                except:
                        pass
+               output  +=      '</div>\n'
                output  +=      '</body>\n'
                output  +=      '</html>'
                return output

UCC git Repository :: git.ucc.asn.au