lib/maruku/output/to_html.rb
def to_html(context={})
    d = Nokogiri::XML::DocumentFragment.new(xdoc)
    children_to_html.each do |e|
      d << e
    end

    # render footnotes
    unless @doc.footnotes_order.empty?
      d << render_footnotes
    end

    correct_document(d.to_xml(:save_with => OUTPUT_OPTIONS, :encoding => 'UTF-8'))
  end
# Render as an HTML fragment (no head, just the content of BODY). (returns a string)
Render as an HTML fragment (no head, just the content of BODY). (returns a string)
Render as an HTML fragment ( no head just the content of BODY ) . ( returns a string )
def to_html(context={})
    d = Nokogiri::XML::DocumentFragment.new(xdoc)
    children_to_html.each do |e|
      d << e
    end
    unless @doc.footnotes_order.empty?
      d << render_footnotes
    end
    correct_document(d.to_xml(:save_with => OUTPUT_OPTIONS, :encoding => 'UTF-8'))
  end
def to_html ( context = { } ) d = Nokogiri :: XML :: DocumentFragment . new ( xdoc ) children_to_html . each do | e | d << e end unless @doc . footnotes_order . empty? d << render_footnotes end correct_document ( d . to_xml ( :save_with => OUTPUT_OPTIONS , :encoding => 'UTF-8' ) ) end
Render as an HTML fragment (no head, just the content of BODY).
Render as an HTML fragment ( no head just the content of BODY ) .
# render footnotes
context