# File lib/rdoc/markup/to_html_snippet.rb, line 52
  def accept_heading heading
    @res << "<p>#{to_html heading.text}\n"

    add_paragraph
  end