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.
1 parent 3351d5b commit eb3a5baCopy full SHA for eb3a5ba
lib/rdoc/generator/darkfish.rb
@@ -722,7 +722,7 @@ def excerpt(comment)
722
first_paragraph_match = text.match(pattern)
723
rescue Encoding::CompatibilityError
724
# The doc is non-ASCII text and encoded in other than Unicode base encodings.
725
- raise unless pattern.eaual?(ParagraphExcerptRegexpUnicode)
+ raise if pattern == ParagraphExcerptRegexpOther
726
pattern = ParagraphExcerptRegexpOther
727
retry
728
end
0 commit comments