develooper Front page | perl.perl5.porters | Postings from May 2011

[perl #89632] L<< text|/ref >> renders wrong in pod2html

From:
hmbrand @ cpan . org
Date:
May 1, 2011 16:17
Subject:
[perl #89632] L<< text|/ref >> renders wrong in pod2html
Message ID:
rt-3.6.HEAD-32285-1304254970-74.89632-75-0@perl.org
# New Ticket Created by  hmbrand@cpan.org 
# Please include the string:  [perl #89632]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=89632 >



This is a bug report for perl from hmbrand@cpan.org,
generated with the help of perlbug 1.39 running under perl 5.12.2.


-----------------------------------------------------------------
[Please describe your issue here]

$ cat foo.pod
=head2 foo

Use L<< { binary => 1 }|/binary >> if you need binary

=head2 binary

Use binary

=cut
$ pod2text foo.pod
  foo
    Use { binary => 1 } if you need binary

  binary
    Use binary

$ pod2html foo.pod
:
:
<h2><a name="foo">foo</a></h2>
<p>Use <a href="#binary">{ binary =</a> 1 }&gt; if you need binary</p>
<p>
</p>
<h2><a name="binary">binary</a></h2>
<p>Use binary</p>
:

Causing the text shown to be "{ binary = 1 }>", just partly underlined
                              __________
The link (href) itself is correct.

Same for perl-5.14.0-RC1

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=utilities
    severity=low
---
Site configuration information for perl 5.12.2:

Configured by merijn at Mon Sep 20 11:34:04 CEST 2010.

Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=2.6.34.7-0.2-desktop, archname=i686-linux-64int-ld
    uname='linux tux09.procura.nl 2.6.34.7-0.2-desktop #1 smp preempt 2010-09-14 14:21:06 +0200 i686 i686 i386 gnulinux '
    config_args='-Duse64bitint -Duselongdouble -des'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/pro/local/include'
    ccversion='', gccversion='4.5.0 20100604 [gcc-4_5-branch revision 160292]', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-L/pro/local/lib -fstack-protector'
    libpth=/pro/local/lib /lib /usr/lib /usr/local/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.11.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.11.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/pro/local/lib -fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.12.2:
    /pro/lib/perl5/site_perl/5.12.2/i686-linux-64int-ld
    /pro/lib/perl5/site_perl/5.12.2
    /pro/lib/perl5/5.12.2/i686-linux-64int-ld
    /pro/lib/perl5/5.12.2
    .

---
Environment for perl 5.12.2:
    HOME=/home/merijn
    LANG=en_US.utf8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=.:/home/merijn/bin/private:/home/merijn/bin:/pro/local/bin:/pro/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/opt/cross/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/usr/lib/qt3/bin:/pro/pp/bin:/pro/local/sbin:/pro/lib/PTLinux/Helpers:/usr/libexec/git-core:/usr/local/sbin:/pro/3gl/CPAN/bin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About