Skip to content

Commit

Permalink
Reflect german locale about missing line ending in diff emails, #485.
Browse files Browse the repository at this point in the history
  • Loading branch information
dra committed Dec 13, 2018
1 parent d8fe9d1 commit fd5741a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/presenters/version_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def diff_html(changeset)
end

def diff_text(changeset)
Diffy::Diff.new(*changeset).to_s(:text).gsub("\n\\ No newline at end of file", "")
Diffy::Diff.new(*changeset).to_s(:text).gsub("\n\\ No newline at end of file", "").gsub("\n\\ Kein Zeilenumbruch am Dateiende.", "")
end

def diff_text_backup_type(changeset)
Expand Down

0 comments on commit fd5741a

Please sign in to comment.