The message template system does not seem to respect line breaks (carriage returns) and thus tokens like the urls to the message, or manage your subscriptions etc... which would be better appearing on multiple lines all just run together.
From what i can tell, the only line break that is respected is one between the body and the body footer, but not between the body header and the body. And not within any of the "Sections".
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | messaging-516012.patch | 989 bytes | aaronbauman |
Comments
Comment #1
Sebastian-1 commentedyes, i have the same problem.
Comment #2
GregoryHeller commentedThanks to Jeff Miccolis over at Development seed. He suggested that i check the input format that message module is using to send emails. my default it only has html2text filter on and not the line break filter. Add that before the html2text one and you should be good to go.
Go to admin/settings/filters, click configure for the format called "messaging plain text", click the check box next to "line break converter", save the configuration, then configure the format again so you can re-arrange the filters to that line break converter appears above html2text.
Comment #3
aaronbauman+1 Thanks for this fix -- just saved me a lot of headache.
Comment #4
aaronbaumanHere's a patch to do this on install.
Comment #5
raintonr commentedI discovered that the following 2 filters were needed in this order:
- Line break converter
- HTML to text
That is, turn them both on then visit the 'Rearrange' tab to make sure the line break converter is higher up the list (lower weight).
Comment #6
petednz commentedIsn't this pretty much what is explained here - http://drupal.org/node/252619 - perhaps more clarification in the documentation would help.
Comment #7
jose reyero commentedOk, thanks for the patch.
Also feel free to improve the handbook.