diff options
Diffstat (limited to 'lib/rdoc/markup')
-rw-r--r-- | lib/rdoc/markup/to_html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/to_html.rb b/lib/rdoc/markup/to_html.rb index f060fd1c72..66c0ee3d30 100644 --- a/lib/rdoc/markup/to_html.rb +++ b/lib/rdoc/markup/to_html.rb @@ -290,7 +290,7 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter # Determins the HTML list element for +list_type+ and +open_tag+ def html_list_name(list_type, open_tag) - tags = LIST_TYPE_TO_HTML[list_type] + tags = LIST_TYPE_TO_HTML[list_type] raise RDoc::Error, "Invalid list type: #{list_type.inspect}" unless tags annotate tags[open_tag ? 0 : 1] end |