Not really a notification bug, but mentioning it here might save some frustrated person some time.

On a site I was working on the emails, being sent with drupal_mail were losing most of their line breaks. Eventually figured it was due to the input filter had been set to include html to text filter. From reading other issues, there's some bug when drupal_html_to_text function gets called twice on input it removes the line breaks. Changing the filter to plain text fixed my problem. (If this is mentioned in the documentation or such, sorry!).

Comments

jose reyero’s picture

Status: Active » Closed (fixed)

> Not really a notification bug, but mentioning it here might save some frustrated person some time.

Sure, but it will also waste the module maintainer's (precious) time :-)

Please, feel free to add it to the handbook.

nocte’s picture

I have the same problem.

On admin/messaging/settings/method i have set "messaging plain text".

But in my emails there are hardly no line breaks :(

Kind regards,
nocte

nocte’s picture

Status: Closed (fixed) » Active
David Goode’s picture

Status: Active » Closed (fixed)

Why active? This behavior is probably related to drupal_wrap_mail and input filters, not notifications, and should be addressed elsewhere.

Thanks,
David

neilticktin’s picture

Actually, this happens in drupal_html_to_text. I say that because if you comment out its use, the line breaks happen.