summaryrefslogtreecommitdiff
path: root/lib/rdoc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-29 09:10:36 +0900
committergit <svn-admin@ruby-lang.org>2022-07-29 09:21:33 +0900
commitf29f1d22c3d62b72b8943eefb384cd7a52251ea1 (patch)
treeef0351d6ed0294b72cb51932cc32bc109f0b76e1 /lib/rdoc
parent0d68286be93b2c7e588e42849ead0526ff55126c (diff)
[ruby/rdoc] Fix formatting blockquote in verbatim
Reported at https://github.com/ruby/rdoc/pull/907#discussion_r932505816 https://github.com/ruby/rdoc/commit/86384ac7f9
Diffstat (limited to 'lib/rdoc')
-rw-r--r--lib/rdoc/markup/parser.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rdoc/markup/parser.rb b/lib/rdoc/markup/parser.rb
index 1b54a519d1..b0fcb61f50 100644
--- a/lib/rdoc/markup/parser.rb
+++ b/lib/rdoc/markup/parser.rb
@@ -287,6 +287,8 @@ class RDoc::Markup::Parser
line << ' ' * indent
when :BREAK, :TEXT then
line << data
+ when :BLOCKQUOTE then
+ line << '>>>'
else # *LIST_TOKENS
list_marker = case type
when :BULLET then data