mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc*: Improved display of ChangeLog files as HTML.
* test/rdoc*: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fe6b2e20e9
commit
54c40f3db5
9 changed files with 136 additions and 14 deletions
|
@ -42,7 +42,12 @@ class RDoc::Markup::Formatter
|
|||
|
||||
def accept_document document
|
||||
document.parts.each do |item|
|
||||
item.accept self
|
||||
case item
|
||||
when RDoc::Markup::Document then # HACK
|
||||
accept_document item
|
||||
else
|
||||
item.accept self
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue