Fix email subject
Closes #278 (closed)
What does this MR do?
Somehow a changed sanitation step introduced newlines in email subjects under some circumstances? This MR trims newlines (all whitespace gets replaced by spaces) at the very last step before we send the email.
How confident are you it won't break things if deployed?
likely, but did not properly understand or test the issue
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s))