Bug#378327: pod2html converts I ... etc. incorrectly

2009-04-03 Thread Niko Tyni
found 378327 5.10.0-19
thanks

On Sat, Jul 15, 2006 at 01:14:26PM +0200, Jakub Wilk wrote:
 Package: perl
 Version: 5.8.8-4
 Severity: normal

 pod2html fails to convert I ... , B ... , F ...  and S ... 
  in the expected manner:

 $ cat buggy
 __END__

 =head1 FOO

 I x 

 B x 

 F x 

 S x 

 =cut

 $ pod2html buggy | grep 'gt;'
 pemx /emgt;/p
 pstrongx /stronggt;/p
 pemx /emgt;/p
 pxnbsp;gt;/p

This is still the case for 5.10.0. The POD reference in perlpod.pod says
this about the doubled angle bracket delimiters:

 This is currently supported by pod2text (Pod::Text), pod2man (Pod::Man),
 and any other pod2xxx or Pod::Xxxx translators that use Pod::Parser
 1.093 or later, or Pod::Tree 1.02 or later.

Unfortunately Pod::Html isn't one of those.
-- 
Niko Tyni   nt...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#378327: pod2html converts I ... etc. incorrectly

2006-07-16 Thread Jakub Wilk

* Steve Peters [EMAIL PROTECTED], 2006-07-15, 09:27:

$ cat buggy
__END__

=head1 FOO

I x 

B x 

F x 

S x 

=cut

$ pod2html buggy | grep 'gt;'
pemx /emgt;/p
pstrongx /stronggt;/p
pemx /emgt;/p
pxnbsp;gt;/p



It appears to be behaving as expected.  The only problem is the missing 
Elt and Egt.


[EMAIL PROTECTED]:~$ cat not_buggy
__END__

=head1 FOO

IElt x Egt

BElt x Egt

FElt x Egt

SElt x Egt

=cut



Uhm, but I don't want to get 'x' enclosed with angle brackets -- just 
'x' alone. pod2text does it well:


$ pod2text buggy
FOO
   *x*

   x

   x

   x



--
Jakub Wilk


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#378327: pod2html converts I ... etc. incorrectly

2006-07-16 Thread Steve Peters
On Sun, Jul 16, 2006 at 03:01:28PM +0200, Jakub Wilk wrote:
 * Steve Peters [EMAIL PROTECTED], 2006-07-15, 09:27:
 $ cat buggy
 __END__
 
 =head1 FOO
 
 I x 
 
 B x 
 
 F x 
 
 S x 
 
 =cut
 
 $ pod2html buggy | grep 'gt;'
 pemx /emgt;/p
 pstrongx /stronggt;/p
 pemx /emgt;/p
 pxnbsp;gt;/p
 
 
 It appears to be behaving as expected.  The only problem is the missing 
 Elt and Egt.
 
 [EMAIL PROTECTED]:~$ cat not_buggy
 __END__
 
 =head1 FOO
 
 IElt x Egt
 
 BElt x Egt
 
 FElt x Egt
 
 SElt x Egt
 
 =cut
 
 
 Uhm, but I don't want to get 'x' enclosed with angle brackets -- just 
 'x' alone. pod2text does it well:

Um, then don't use double angle brackets.
[EMAIL PROTECTED]:~$ cat not_buggy 
__END__

=head1 FOO

I x 

B x 

F x 

S x 

=cut

pod2html output...

h1a name=fooFOO/a/h1
pem x /em/p
pstrong x /strong/p
pem x /em/p
pnbsp;xnbsp;/p


Steve Peters
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#378327: pod2html converts I ... etc. incorrectly

2006-07-15 Thread Jakub Wilk

Package: perl
Version: 5.8.8-4
Severity: normal


pod2html fails to convert I ... , B ... , F ...  and 
S ...  in the expected manner:


$ cat buggy
__END__

=head1 FOO

I x 

B x 

F x 

S x 

=cut

$ pod2html buggy | grep 'gt;'
pemx /emgt;/p
pstrongx /stronggt;/p
pemx /emgt;/p
pxnbsp;gt;/p



-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages perl depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libdb4.4  4.4.20-3   Berkeley v4.4 Database Libraries [
ii  libgdbm3  1.8.3-3GNU dbm database routines (runtime
ii  perl-base 5.8.8-4The Pathologically Eclectic Rubbis
ii  perl-modules  5.8.8-4Core Perl modules

Versions of packages perl recommends:
ii  perl-doc  5.8.8-4Perl documentation

-- debconf-show failed

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#378327: pod2html converts I ... etc. incorrectly

2006-07-15 Thread Steve Peters
On Sat, Jul 15, 2006 at 01:14:26PM +0200, Jakub Wilk wrote:
 Package: perl
 Version: 5.8.8-4
 Severity: normal
 
 
 pod2html fails to convert I ... , B ... , F ...  and 
 S ...  in the expected manner:
 
 $ cat buggy
 __END__
 
 =head1 FOO
 
 I x 
 
 B x 
 
 F x 
 
 S x 
 
 =cut
 
 $ pod2html buggy | grep 'gt;'
 pemx /emgt;/p
 pstrongx /stronggt;/p
 pemx /emgt;/p
 pxnbsp;gt;/p
 

It appears to be behaving as expected.  The only problem is the missing 
Elt and Egt.

[EMAIL PROTECTED]:~$ cat not_buggy
__END__

=head1 FOO

IElt x Egt

BElt x Egt

FElt x Egt

SElt x Egt

=cut

[EMAIL PROTECTED]:~$ pod2html not_buggy | grep 'gt;'
/usr/bin/pod2html: no title for not_buggy.
pemlt; x gt;/em/p
pstronglt; x gt;/strong/p
pemlt; x gt;/em/p
plt;nbsp;xnbsp;gt;/p


Steve Peters
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]