method
accept_paragraph
v2_1_10 -
Show latest stable
- Class:
RDoc::Markup::ToHtmlSnippet
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