Subject: | Pod::Man L<> of url with dash |
Date: | Thu, 07 Mar 2013 09:11:43 +1100 |
To: | bug-podlators [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
Pod::Man version 2.25 on an L<> url with a dash in it,
=pod
L<http://foo-bar.org>
produces
http://foo\-bar.org <http://foo-bar.org>
whereas I hoped it would not double up the output, but instead just
<http://foo-bar.org>
The single copy is what you get from a url without "-" in it, such as
L<http://foobar.org>.
I wonder if the "< >" display part would be escaped to \- and maybe all
of what format_text() mangles too,
<http://foo\-bar.org>
\- is the minus sign is it? I expect that would be right for a url.
That might let cmd_l() notice "text" and "to" are the same.