Fixes #2726: System mail notification subjects ending with =0A.

This commit is contained in:
Thorsten Eckel 2019-09-16 14:20:59 +02:00
parent 568ed22074
commit 250bf2abcf

View file

@ -299,8 +299,8 @@ returns
escape: false
).render
# strip off the extra newline at the end for the subjects of plaintext templates
message_subject.chomp! if data[:format] == 'txt'
# strip off the extra newline at the end of the subject to avoid =0A suffixes (see #2726)
message_subject.chomp!
message_body = NotificationFactory::Renderer.new(
objects: data[:objects],