Skip to content

Commit

Permalink
clean spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 2, 2024
1 parent fa0b15a commit 9b7345c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fbe/award.rb
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def markdown
else
pars += @lines.each_with_index.map { |t, i| "#{i.zero? ? 'First' : 'Then'}, #{t}." }
end
pars.join(' ').gsub('. Then, award ', ', and award ')
pars.join(' ').gsub('. Then, award ', ', and award ').gsub(/\s{2,}/, ' ')
end
end
end

0 comments on commit 9b7345c

Please sign in to comment.