# File lib/maruku/output/to_html.rb, line 161
        def to_html_tree
                div = Element.new 'div'
                        div.attributes['class'] = 'maruku_wrapper_div'
                                children_to_html.each do |e|
                                                  div << e
                                end

                                # render footnotes
                                if @doc.footnotes_order.size > 0
                                                  div << render_footnotes
                                end

                 doc = Document.new(nil,{:respect_whitespace =>:all})
                 doc << div
        end