Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Simple CPAN distribution.

Report information
The Basics
Id: 74081
Status: rejected
Priority: 0/
Queue: Pod-Simple

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

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



Subject: =over/=item combination with plain =item does not result in indentation of the contents
Specifically: =head1 plain items =over 4 =item thing 1 =item thing 2 =back results in entirely unindented output.
On 2012-01-17 06:14:25, MITHALDU wrote: Show quoted text
> Specifically: > > =head1 plain items > > =over 4 > > =item thing 1 > > =item thing 2 > > =back > > results in entirely unindented output.
In what format? Looks good as text: perl -MPod::Simple::Text -E 'Pod::Simple::Text->filter(\"=head1 plain items\n\n=over 4\n\n=item thing 1\n\n=item thing 2\n\n=back")' plain items thing 1 thing 2 And also as XHTML: perl -MPod::Simple::XHTML -E 'Pod::Simple::XHTML->filter(\"=head1 plain items\n\n=over 4\n\n=item thing 1\n\n=item thing 2\n\n=back")' <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> </head> <body> <h1 id="plain-items">plain items</h1> <dl> <dt>thing 1</dt> <dd> </dd> <dt>thing 2</dt> <dd> </dd> </dl> </body> </html>
When i inspect that HTML bit in a browser (Opera in my case) it does not have any indentation. Does your browser render it with indentation?
Subject: Re: [rt.cpan.org #74081] =over/=item combination with plain =item does not result in indentation of the contents
Date: Fri, 2 Mar 2012 07:35:09 -0800
To: bug-Pod-Simple [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
On Mar 2, 2012, at 12:08 AM, Christian Walde via RT wrote: Show quoted text
> When i inspect that HTML bit in a browser (Opera in my case) it does not > have any indentation. Does your browser render it with indentation?
No, because it's a definition list with no <dd> elements. You can use CSS to add indentation if you want it. David
So it seems that there is an inconsistency between Text and XHTML output. Is there a reasoning for this that i overlooked while browsing the docs of Pod::Simple::XHTML and Pod::Simple? Or am i interpreting this wrong?
Subject: Re: [rt.cpan.org #74081] =over/=item combination with plain =item does not result in indentation of the contents
Date: Fri, 2 Mar 2012 08:50:30 -0800
To: bug-Pod-Simple [...] rt.cpan.org
From: "David E. Wheeler" <david [...] justatheory.com>
On Mar 2, 2012, at 7:52 AM, Christian Walde via RT wrote: Show quoted text
> So it seems that there is an inconsistency between Text and XHTML output. > Is there a reasoning for this that i overlooked while browsing the docs > of Pod::Simple::XHTML and Pod::Simple? Or am i interpreting this wrong?
No inconsistency, they are two completely different formats. One is text, which needs to include formatting in it (indentation, etc.). The other is semantic XHTML, which does not (the expectation is that formatting is managed in a separate CSS file). HTH, David