lib/taskjuggler/RichText/TableOfContents.rb in taskjuggler-3.0.0 vs lib/taskjuggler/RichText/TableOfContents.rb in taskjuggler-3.1.0

- old
+ new

@@ -1,11 +1,11 @@ #!/usr/bin/env ruby -w # encoding: UTF-8 # # = TableOfContents.rb -- The TaskJuggler III Project Management Software # -# Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011 +# Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012 # by Chris Schlaeger <chris@linux.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. @@ -36,10 +36,11 @@ end # Return HTML elements that represent the content of the TableOfContents # object. The result is a tree of XMLElement objects. def to_html - div = XMLElement.new('div', 'style' => 'margin-left:15%; margin-right:15%;') + div = XMLElement.new('div', + 'style' => 'margin-left:15%; margin-right:15%;') div << (table = XMLElement.new('table')) @entries.each { |e| table << e.to_html } div end