Skip Menu |
 

This queue is for tickets about the Unicode-LineBreak CPAN distribution.

Report information
The Basics
Id: 115146
Status: resolved
Priority: 0/
Queue: Unicode-LineBreak

People
Owner: Nobody in particular
Requestors: MYSOCIETY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2016.007_02



Download (untitled) / with headers
text/plain 994b
Text::LineFold with format flowed does not appear to correctly space-indent lines beginning with "From" or a space. It looks like the code is looking for "From " or " " upon an so* event (lines 97 and 106), but the string provided does not appear to include any trailing spaces; only "From" or "" is received, with the space being given in the next "" event. $ perl -MText::LineFold -e'print Text::LineFold->new(ColMax=>72)->fold("This is a very long piece of text that wraps appropriately to have a From at the start of the line. From should be space indented.\n It never wraps at a space so let us start this paragraph with one so that the behaviour there can be observed; it should have two spaces.", "FLOWED");' This is a very long piece of text that wraps appropriately to have a From at the start of the line. From should be space indented. It never wraps at a space so let us start this paragraph with one so that the behaviour there can be observed; it should have two spaces.
Hi MYSOCIETY, U-LB 2016.007_02 may fix reported bug. Would you please confirm?
Yes, that does appear to now work for the two cases I found, thanks!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.