We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0ae843 + 12e4e75 commit 991bc7bCopy full SHA for 991bc7b
lib/rdoc/text.rb
@@ -169,7 +169,7 @@ def strip_stars text
169
170
encoding = text.encoding
171
172
- text = text.gsub %r%Document-method:\s+[\w:.#=!?|^&<>~+-/*\%@`\[\]]+%, ''
+ text = text.gsub %r%Document-method:\s+[\w:.#=!?|^&<>~+\-/*\%@`\[\]]+%, ''
173
174
space = ' '
175
space = RDoc::Encoding.change_encoding space, encoding if encoding
0 commit comments