Open avpaderno opened 3 months ago
I have reviewed the code and it matches the respective code that is RTBC for D7. I have left a suggestion in the PR to consider adding a comment improvement/clarification, but this is otherwise RTBC.
Not sure how to test this though.
Thanks @klonos! @kiamlaluno I think this needs instructions for testing. Will this affect the emails that Backdrop sends, like welcome emails and password resets?
The D7 issue was marked RTBC by @kiamlaluno (although someone else provided the patch in 2019). So I guess there's already 2 people that feel it's ready on the Drupal side.
I apologize: I think I wrongly added the pr - needs testing label.
This does seem to be correct.
This is the equivalent of DefaultMailSystem implements MailSystemInterface::format() incorrectly for Drupal 7.
DefaultMailSystem::format()
contains the following code.The description for
backdrop_html_to_text()
says:backdrop_wrap_mail()
converts all soft breaks into hard breaks, making 'format=flowed' meaningless.