Bug #18682 [Opn->Csd]: columnWrap() in Default Renderer eats up lines with only a EOL

From: Date: Thu, 25 Oct 2012 08:14:32 +0000
Subject: Bug #18682 [Opn->Csd]: columnWrap() in Default Renderer eats up lines with only a EOL
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-9235@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=18682&edit=1 ID: 18682 Updated by: izi@php.net Reported By: helgith at gmail dot com Summary: columnWrap() in Default Renderer eats up lines with only a EOL -Status: Open +Status: Closed Type: Bug Package: Console_CommandLine Operating System: OS X Package Version: SVN PHP Version: 5.3.6 -Assigned To: +Assigned To: izi Roadmap Versions: New Comment: -Status: Open +Status: Closed -Assigned To: +Assigned To: izi This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2011-07-24 00:33:20] dufuz Added #patch bug:18682;patch:bug_fix;revision:1311464000;. ------------------------------------------------------------------------ [2011-07-24 00:32:13] dufuz Added #patch bug:18682;patch:test_case;revision:1311463933;. ------------------------------------------------------------------------ [2011-07-24 00:19:31] dufuz Description: ------------ When passing a chunk of text to columnWrap that contains amongst other lines that only contain an EOL (\n) then they get eaten up and ignored on the output after the wrapping has been done. Test script: --------------- See attached files ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=18682&edit=1

« previous php.pear.bugs (#9235) next »