lib/taskjuggler/RichText/Snip.rb in taskjuggler-0.1.0 vs lib/taskjuggler/RichText/Snip.rb in taskjuggler-0.1.1
- old
+ new
@@ -77,10 +77,10 @@
def generateHTML(directory = '')
html = HTMLDocument.new
head = html.generateHead(@name)
head << @document.generateStyleSheet
- html << (body = XMLElement.new('body'))
+ html.html << (body = XMLElement.new('body'))
body << @document.generateHTMLHeader
body << generateHTMLNavigationBar
body << (div = XMLElement.new('div',
'style' => 'width:90%; margin-left:5%; margin-right:5%'))