diff options
author | alecpl <alec@alec.pl> | 2011-06-02 12:36:32 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-06-02 12:36:32 +0000 |
commit | 187833dff94146a9b176a1ca4a5c9996809fd4a7 (patch) | |
tree | 8018d76e44be79286d116d0588b7bec0298f5432 /program/steps/mail | |
parent | fcbf7a12fff1a3cd8bbace46d9b61e4ce5b6a7ce (diff) |
- Apply fixes from trunk
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 5160027f2..d738322b7 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -575,7 +575,7 @@ function rcmail_wash_html($html, $p = array(), $cid_replaces) '', '<html>', ); - $html = preg_replace($html_search, $html_replace, $html); + $html = preg_replace($html_search, $html_replace, trim($html)); // PCRE errors handling (#1486856), should we use something like for every preg_* use? if ($html === null && ($preg_error = preg_last_error()) != PREG_NO_ERROR) { |