diff options
Diffstat (limited to 'lib/rdoc/markup/to_rdoc.rb')
-rw-r--r-- | lib/rdoc/markup/to_rdoc.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rdoc/markup/to_rdoc.rb b/lib/rdoc/markup/to_rdoc.rb index 97c7d0c984..867715bb1e 100644 --- a/lib/rdoc/markup/to_rdoc.rb +++ b/lib/rdoc/markup/to_rdoc.rb @@ -127,6 +127,10 @@ class RDoc::Markup::ToRdoc < RDoc::Markup::Formatter wrap attributes(paragraph.text) end + def accept_raw raw + @res << raw.parts.join("\n") + end + def accept_rule rule use_prefix or @res << ' ' * @indent @res << '-' * (@width - @indent) |