diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-12-02 21:24:11 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-12-02 12:40:12 +0000 |
commit | c9c1670f7e7aaa17e69fd14d573f2f40ccd8a3da (patch) | |
tree | d90281a756661f429204f66a9e79464a6cee46c4 /lib | |
parent | 4ee1f0fb5de08acd659ec18409fca433d1bf371a (diff) |
[ruby/rdoc] Markup punctuations need to be separated with a space
https://github.com/ruby/rdoc/commit/83f0149fc1
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rdoc/text.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/text.rb b/lib/rdoc/text.rb index 6f1a2b8d15..7c97c61ffd 100644 --- a/lib/rdoc/text.rb +++ b/lib/rdoc/text.rb @@ -313,6 +313,6 @@ module RDoc::Text # Character class to be separated by a space when concatenating # lines. - SPACE_SEPARATED_LETTER_CLASS = /[\p{Nd}\p{Lc}\p{Pc}]/ + SPACE_SEPARATED_LETTER_CLASS = /[\p{Nd}\p{Lc}\p{Pc}]|[!-~&&\W]/ end |