Fixes #2726: System mail notification subjects ending with =0A.
This commit is contained in:
parent
568ed22074
commit
250bf2abcf
1 changed files with 2 additions and 2 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue