Skip to content

Commit

Permalink
Fix line endings and update string replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jan 12, 2024
1 parent 869d97a commit 3653954
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def awesome_description
d.gsub!(/stackoverflow/i, 'Stack Overflow')
# Nodejs should be Node.js
d.gsub!(/Nodejs/i, 'Node.js')
# remove mixed line endings
d.gsub!(/\r\n?/, "\n")
d
end

Expand Down

0 comments on commit 3653954

Please sign in to comment.