diff --git a/lib/gitlab/email/reply_parser.rb b/lib/gitlab/email/reply_parser.rb index 5957cbbad7e02c124c9134359c0e79843a60f0e8..96d0a4f5153fb2ef54a0a5beeb148d410868395f 100644 --- a/lib/gitlab/email/reply_parser.rb +++ b/lib/gitlab/email/reply_parser.rb @@ -15,7 +15,7 @@ module Gitlab body = EmailReplyTrimmer.trim(body) or return "" - # [jneen] not using /\s+$/ here because that deletes empty lines + # not using /\s+$/ here because that deletes empty lines body = body.gsub(/[ \t]$/, '') body.force_encoding(encoding).encode("UTF-8")