mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
removes superfluous regexp group
This commit is contained in:
parent
7702974281
commit
6dd4c04b71
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ HTML
|
|||
end
|
||||
|
||||
def paragraph(text)
|
||||
if text =~ /^(TIP|IMPORTANT|CAUTION|WARNING|NOTE|INFO|TODO)[.:](.*?)/
|
||||
if text =~ /^(TIP|IMPORTANT|CAUTION|WARNING|NOTE|INFO|TODO)[.:]/
|
||||
convert_notes(text)
|
||||
elsif text.include?('DO NOT READ THIS FILE IN GITHUB')
|
||||
elsif text =~ /^\[<sup>(\d+)\]:<\/sup> (.+)$/
|
||||
|
|
Loading…
Reference in a new issue