summaryrefslogtreecommitdiff
path: root/lib/rdoc/text.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-09-10 23:25:02 +0900
committergit <svn-admin@ruby-lang.org>2021-09-11 17:03:52 +0900
commit0fbde94b27d9ed08c96944717bf7bfa76897276e (patch)
treeafebc571a34e9d39a560aafcfafba85dbd59480f /lib/rdoc/text.rb
parentbc0ea95ca8742b11d361952232d22c4ac0e33e83 (diff)
[ruby/rdoc] Convert upper case copyright and registered marks
https://github.com/ruby/rdoc/commit/3bca7dc093
Diffstat (limited to 'lib/rdoc/text.rb')
-rw-r--r--lib/rdoc/text.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/text.rb b/lib/rdoc/text.rb
index 407421f453..0bc4aba428 100644
--- a/lib/rdoc/text.rb
+++ b/lib/rdoc/text.rb
@@ -218,10 +218,10 @@ module RDoc::Text
when s.scan(/\.\.\.(\.?)/) then
html << s[1] << encoded[:ellipsis]
after_word = nil
- when s.scan(/\(c\)/) then
+ when s.scan(/\(c\)/i) then
html << encoded[:copyright]
after_word = nil
- when s.scan(/\(r\)/) then
+ when s.scan(/\(r\)/i) then
html << encoded[:trademark]
after_word = nil
when s.scan(/---/) then