aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-09-10 22:56:13 +0900
committergit <svn-admin@ruby-lang.org>2021-09-11 17:03:38 +0900
commitbc0ea95ca8742b11d361952232d22c4ac0e33e83 (patch)
tree411c096155399b0204e3ab5b384e301b4163d255 /lib/rdoc
parent6944163415997e75e0d70ea860dad6071ee5d79a (diff)
downloadruby-bc0ea95ca8742b11d361952232d22c4ac0e33e83.tar.gz
[ruby/rdoc] Convert tick double quote in character entity references
https://github.com/ruby/rdoc/commit/6ed889aac9
Diffstat (limited to 'lib/rdoc')
-rw-r--r--lib/rdoc/text.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/text.rb b/lib/rdoc/text.rb
index 77318e46e4..407421f453 100644
--- a/lib/rdoc/text.rb
+++ b/lib/rdoc/text.rb
@@ -237,7 +237,7 @@ module RDoc::Text
when s.scan(/``/) then # backtick double quote
html << encoded[:open_dquote]
after_word = nil
- when s.scan(/''/) then # tick double quote
+ when s.scan(/(?:&#39;|'){2}/) then # tick double quote
html << encoded[:close_dquote]
after_word = nil
when s.scan(/`/) then # backtick