1 #!/usr/bin/perl -w # -*- perl -*-
4 require "t/pod2html-lib.pl";
8 use Test::More tests => 2;
10 my $data_pos = tell DATA; # to read <DATA> twice
12 convert_n_test("htmldir2", "test --htmldir and --htmlroot 2a",
17 seek DATA, $data_pos, 0; # to read <DATA> twice (expected output is the same)
19 convert_n_test("htmldir2", "test --htmldir and --htmlroot 2b",
25 <?xml version="1.0" ?>
26 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
27 <html xmlns="http://www.w3.org/1999/xhtml">
29 <title>htmldir - Test --htmldir feature</title>
30 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
31 <link rev="made" href="mailto:[PERLADMIN]" />
34 <body style="background-color: white">
39 <p><a name="__index__"></a></p>
43 <li><a href="#name">NAME</a></li>
44 <li><a href="#links">LINKS</a></li>
53 <h1><a name="name">NAME</a></h1>
54 <p>htmldir - Test --htmldir feature</p>
58 <h1><a name="links">LINKS</a></h1>
59 <p>Normal text, a <em>link</em> to nowhere,</p>
60 <p>a link to <em>perlvar</em>,</p>
61 <p><a href="/t/htmlescp.html">the htmlescp manpage</a>,</p>
62 <p><a href="/t/htmlfeature.html#another_head_1">Another Head 1 in the htmlfeature manpage</a>,</p>
63 <p>and another <a href="/t/htmlfeature.html#another_head_1">Another Head 1 in the htmlfeature manpage</a>.</p>