summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/parser.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-11-27 20:15:54 +0900
committergit <[email protected]>2023-11-27 15:58:31 +0000
commit196c4aeb766a66b3557ddab61086db58c7a08226 (patch)
tree46545600783f75d9d928af9ff3c21029315a58f0 /lib/rdoc/markup/parser.rb
parent7835ebce97a6e6132d2bc7bdbef115f3f47cc6c2 (diff)
[ruby/rdoc] Place a space between certain character class letters only
https://github.com/ruby/rdoc/commit/1f568e049d
Diffstat (limited to 'lib/rdoc/markup/parser.rb')
-rw-r--r--lib/rdoc/markup/parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/parser.rb b/lib/rdoc/markup/parser.rb
index 0029df7e65..2ad4a65808 100644
--- a/lib/rdoc/markup/parser.rb
+++ b/lib/rdoc/markup/parser.rb
@@ -218,7 +218,7 @@ class RDoc::Markup::Parser
break if peek_token.first == :BREAK
- data << ' ' if skip :NEWLINE
+ data << ' ' if skip :NEWLINE and /#{SPACE_SEPARATED_LETTER_CLASS}\z/o.match?(data)
else
unget
break