Subject: | L<text| \n link> loses link in HTML |
$ cat rt.pl
#!/usr/bin/perl
1;
=head1 DEMO
X<DEMO>
L<DEMO|/DEMO> without NL
L<DEMO with NL|
/DEMO> and trailing text
=cut
$ podchecker rt.pl
rt.pl pod syntax OK.
$ perl -MV=Pod::Checker,Pod::Simple
Pod::Checker
/pro/lib/perl5/5.18.2/Pod/Checker.pm: 1.70
Pod::Simple
/pro/lib/perl5/5.18.2/Pod/Simple.pm: 3.28
$ pod2text rt.pl
DEMO
DEMO without NL
DEMO with NL and trailing text
$ pod2html rt.pl
Cannot find " " in podpath: cannot find suitable replacement path, cannot resolve link
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:h.m.brand@xs4all.nl" />
</head>
<body style="background-color: white">
<ul id="index">
<li><a href="#DEMO">DEMO </a></li>
</ul>
<h1 id="DEMO">DEMO </h1>
<p><a href="#DEMO">DEMO</a> without NL</p>
<p><a>DEMO with NL</a> and trailing text</p>
</body>
</html>
$