1 #!/usr/bin/perl -w # -*- perl -*-
4 require "t/pod2html-lib.pl";
14 use File::Spec::Functions;
15 use Test::More tests => 1;
18 my $output = make_test_dir();
19 skip "$output", 1 if $output;
23 convert_n_test("crossref", "cross references",
24 "--podpath=t:testdir/test.lib",
32 <?xml version="1.0" ?>
33 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
34 <html xmlns="http://www.w3.org/1999/xhtml">
37 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
38 <link rev="made" href="mailto:[PERLADMIN]" />
41 <body style="background-color: white">
46 <li><a href="#NAME">NAME</a></li>
47 <li><a href="#LINKS">LINKS</a></li>
48 <li><a href="#TARGETS">TARGETS</a>
50 <li><a href="#section1">section1</a></li>
55 <h1 id="NAME">NAME</h1>
57 <p>htmlcrossref - Test HTML cross reference links</p>
59 <h1 id="LINKS">LINKS</h1>
61 <p><a href="#section1">"section1"</a></p>
63 <p><a href="./htmllink.html#section-2">"section 2" in htmllink</a></p>
65 <p><a href="#item1">"item1"</a></p>
67 <p><a href="#non-existant-section">"non existant section"</a></p>
69 <p><a href="../testdir/test.lib/var-copy.html">var-copy</a></p>
71 <p><a href="../testdir/test.lib/var-copy.html#pod-">"$"" in var-copy</a></p>
73 <p><code>var-copy</code></p>
75 <p><code>var-copy/$"</code></p>
77 <p><a href="../testdir/test.lib/podspec-copy.html#First:">"First:" in podspec-copy</a></p>
79 <p><code>podspec-copy/First:</code></p>
81 <p><a>notperldoc</a></p>
83 <h1 id="TARGETS">TARGETS</h1>
85 <h2 id="section1">section1</h2>
87 <p>This is section one.</p>
91 <dt id="item1">item1 </dt>
94 <p>This is item one.</p>