Issue Type: Bug Created: 2011-10-08T22:43:36.000+0000 Last Updated: 2011-10-09T00:17:46.000+0000 Status: Resolved Fix version(s): Reporter: Nico Nägele (peaceman) Assignee: Ben Scholzen (dasprid) Tags: - Zend_Text_Table
Related issues: Attachments: - zend-wordwrap.patch
If you give the static method Zend_Text_MultiByte::wordWrap a string that has the same length as the maximum length for a line plus an ending space and set the cut parameter to true, the ending space will be added to the first line and no second line is created.
<pre class="highlight"> $text = 'aloha '; echo Zend_Text_MultiByte::wordWrap($text, 5, '-', true);
returns 'aloha ' but should return 'aloha-'
Posted by Nico Nägele (peaceman) on 2011-10-08T22:46:29.000+0000
Added Bugfix and unittest
Have you found an issue?
See the Overview section for more details.