# File lib/maruku/output/to_html.rb, line 84
        def to_html_document(context={})
                indent = context[:indent] || -1
                ie_hack = context[:ie_hack] ||true
                doc = to_html_document_tree
                xml  = "" 
                
                # REXML Bug? if indent!=-1 whitespace is not respected for 'pre' elements
                # containing code.
                doc.write(xml,indent,transitive=true,ie_hack);
                
                Xhtml11_mathml2_svg11 + xml
        end