Skip Menu |

This queue is for tickets about the Test-EOL CPAN distribution.

Report information
The Basics
Id: 75977
Status: rejected
Priority: 0/
Queue: Test-EOL

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

Bug Information
Severity: Normal
Broken in: 1.1
Fixed in: (no value)



Subject: trailing_whitespace should not match for spaces in POD verbatim paragraph
Trailing spaces are the only way to put an empty line inside a verbatim block. A pure empty line (/^$/) would instead split the paragraph in two paragrahs. That is not visible when viewing in text mode, but it is in Pod::Html output. Test case: =head1 SYNOPSIS foo bar =cut -- Olivier Mengué - http://perlresume.org/DOLMEN
On Thu Mar 22 09:52:27 2012, DOLMEN wrote: Show quoted text
> Trailing spaces are the only way to put an empty line inside a verbatim > block. A pure empty line (/^$/) would instead split the paragraph in two > paragrahs. That is not visible when viewing in text mode, but it is in > Pod::Html output. > > Test case: > > =head1 SYNOPSIS > > foo > > bar > > =cut >
My instinct here would be to blame Pod::Html. You can not expect trailing whitespace to be preserved anyway - there is a multitude of editors (komodo being one of them) which will unconditionally strip any trailing whitespace anyway. Furthermore all my dists are trailing-space free and I have never noticed breakage of "code blocks". For example: https://metacpan.org/module/DBIx::Class#SYNOPSIS I will mark this ticket as rejected, feel free to reopen it if you have more comments on the issue. Cheers