@@ 1889-1895 (lines=7) @@ | ||
1886 | if (!$firstword) { |
|
1887 | if ($space_left > 20) { |
|
1888 | $len = $space_left; |
|
1889 | if ($is_utf8) { |
|
1890 | $len = $this->utf8CharBoundary($word, $len); |
|
1891 | } elseif (substr($word, $len - 1, 1) == '=') { |
|
1892 | $len--; |
|
1893 | } elseif (substr($word, $len - 2, 1) == '=') { |
|
1894 | $len -= 2; |
|
1895 | } |
|
1896 | $part = substr($word, 0, $len); |
|
1897 | $word = substr($word, $len); |
|
1898 | $buf .= ' ' . $part; |
|
@@ 1910-1916 (lines=7) @@ | ||
1907 | break; |
|
1908 | } |
|
1909 | $len = $length; |
|
1910 | if ($is_utf8) { |
|
1911 | $len = $this->utf8CharBoundary($word, $len); |
|
1912 | } elseif (substr($word, $len - 1, 1) == '=') { |
|
1913 | $len--; |
|
1914 | } elseif (substr($word, $len - 2, 1) == '=') { |
|
1915 | $len -= 2; |
|
1916 | } |
|
1917 | $part = substr($word, 0, $len); |
|
1918 | $word = substr($word, $len); |
|
1919 |