summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/to_html_snippet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/to_html_snippet.rb')
-rw-r--r--lib/rdoc/markup/to_html_snippet.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rdoc/markup/to_html_snippet.rb b/lib/rdoc/markup/to_html_snippet.rb
index 4eb36592b7..f471395a3a 100644
--- a/lib/rdoc/markup/to_html_snippet.rb
+++ b/lib/rdoc/markup/to_html_snippet.rb
@@ -66,6 +66,9 @@ class RDoc::Markup::ToHtmlSnippet < RDoc::Markup::ToHtml
alias accept_rule ignore
+ ##
+ # Adds +paragraph+ to the output
+
def accept_paragraph paragraph
para = @in_list_entry.last || "<p>"
@@ -282,4 +285,3 @@ class RDoc::Markup::ToHtmlSnippet < RDoc::Markup::ToHtml
end
end
-