method

accept_paragraph

accept_paragraph(paragraph)
public

No documentation available.

# File lib/rdoc/markup/to_html_snippet.rb, line 68
  def accept_paragraph paragraph
    para = @in_list_entry.last || "<p>"

    text = paragraph.text @hard_break

    @res << "#{para}#{wrap to_html text}\n"

    add_paragraph
  end