@@ 740-746 (lines=7) @@ | ||
737 | if ($e != 0) { |
|
738 | if ($space_left > 20) { |
|
739 | $len = $space_left; |
|
740 | if ($is_utf8) { |
|
741 | $len = $this->UTF8CharBoundary($word, $len); |
|
742 | } elseif (substr($word, $len - 1, 1) == "=") { |
|
743 | $len--; |
|
744 | } elseif (substr($word, $len - 2, 1) == "=") { |
|
745 | $len -= 2; |
|
746 | } |
|
747 | $part = substr($word, 0, $len); |
|
748 | $word = substr($word, $len); |
|
749 | $buf .= ' ' . $part; |
|
@@ 758-764 (lines=7) @@ | ||
755 | } |
|
756 | while (strlen($word) > 0) { |
|
757 | $len = $length; |
|
758 | if ($is_utf8) { |
|
759 | $len = $this->UTF8CharBoundary($word, $len); |
|
760 | } elseif (substr($word, $len - 1, 1) == "=") { |
|
761 | $len--; |
|
762 | } elseif (substr($word, $len - 2, 1) == "=") { |
|
763 | $len -= 2; |
|
764 | } |
|
765 | $part = substr($word, 0, $len); |
|
766 | $word = substr($word, $len); |
|
767 |