diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-23 08:59:27 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-23 08:59:27 +0200 |
commit | db108e37793c7f8fc8ba11f00d0561d1f0bd32c0 (patch) | |
tree | 5caecb01889fc02c2c8f13345e55ae6cb0cebd67 /program/lib/Roundcube/rcube_mime.php | |
parent | c71281fd44d900032e4a3be19e663993d9b9a0ea (diff) |
Fix another text wrapping issue (wrong handling of long unwrappable lines)
Diffstat (limited to 'program/lib/Roundcube/rcube_mime.php')
-rw-r--r-- | program/lib/Roundcube/rcube_mime.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_mime.php b/program/lib/Roundcube/rcube_mime.php index d413c0a7e..5258af5bf 100644 --- a/program/lib/Roundcube/rcube_mime.php +++ b/program/lib/Roundcube/rcube_mime.php @@ -658,6 +658,10 @@ class rcube_mime $subString = $substr_func($subString, 0, $spacePos, $charset); $cutLength = $spacePos + 1; } + else if ($cut === false && $breakPos === false) { + $subString = $string; + $cutLength = null; + } else if ($cut === false) { $spacePos = $strpos_func($string, ' ', 0, $charset); |