aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/to_rdoc.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-27 03:45:22 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-27 03:45:22 +0000
commit336a8301f725bd8fbf5f1e0c4fee162382a76d0f (patch)
tree455c5fb8689d09e734a9ca13cdbe3ef9a7651a6e /lib/rdoc/markup/to_rdoc.rb
parent3a87c3c5603fce8449f78faccaff5f4be6f372e1 (diff)
downloadruby-336a8301f725bd8fbf5f1e0c4fee162382a76d0f.tar.gz
Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup/to_rdoc.rb')
-rw-r--r--lib/rdoc/markup/to_rdoc.rb4
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)