Closed felixkoch closed 12 years ago
@FrenkyNet any reason why you didn't add this edit? :
$this->alt_body = static::wrap_text($this->alt_body, $wrapping, $newline, false);
Since the alt_body
definitely isn't html, so that last parameter should be false
. For me, generated and manually added alt body still has no line breaks due to that call. With false
as last parameter of wrap_text
, it works.
Hey,
I think there are two approches to get linebreaks from html.
For me the 2nd approch gives the better results. So I changed driver.php/generate_alt(), please see comments:
And in driver.php/send() I had to change one more line, because it eats the new line breaks :
Regards Felix