diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-29 09:10:36 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-07-29 09:21:33 +0900 |
commit | f29f1d22c3d62b72b8943eefb384cd7a52251ea1 (patch) | |
tree | ef0351d6ed0294b72cb51932cc32bc109f0b76e1 /lib/rdoc | |
parent | 0d68286be93b2c7e588e42849ead0526ff55126c (diff) | |
download | ruby-f29f1d22c3d62b72b8943eefb384cd7a52251ea1.tar.gz |
[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.rb | 2 |
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 |