1 #!/usr/bin/perl -w # -*- perl -*-
5 unshift @INC, '../lib';
6 unshift @INC, '../lib/Pod/t';
7 require "pod2html-lib.pl";
11 use Test::More tests => 1;
14 local $TODO = "item 2 doesn't work as expected";
15 convert_n_test("htmllink", "html links");
19 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
20 <html xmlns="http://www.w3.org/1999/xhtml">
22 <title>htmllink - Test HTML links</title>
23 <link rev="made" href="mailto:" />
26 <body style="background-color: white">
28 <p><a name="__index__"></a></p>
33 <li><a href="#name">NAME</a></li>
34 <li><a href="#links">LINKS</a></li>
35 <li><a href="#targets">TARGETS</a></li>
38 <li><a href="#section1">section1</a></li>
39 <li><a href="#section_2">section 2</a></li>
40 <li><a href="#section_three">section three</a></li>
49 <h1><a name="name">NAME</a></h1>
50 <p>htmllink - Test HTML links</p>
54 <h1><a name="links">LINKS</a></h1>
55 <p><a href="#section1">section1</a></p>
56 <p><a href="#section_2">section 2</a></p>
57 <p><a href="#section_three">section three</a></p>
58 <p><a href="#item_item1">item1</a></p>
59 <p><a href="#item_item_2">item 2</a></p>
60 <p><a href="#item_item_three">item three</a></p>
61 <p><a href="#section1">section1</a></p>
62 <p><a href="#section_2">section 2</a></p>
63 <p><a href="#section_three">section three</a></p>
64 <p><a href="#item_item1">item1</a></p>
65 <p><a href="#item_item_2">item 2</a></p>
66 <p><a href="#item_item_three">item three</a></p>
67 <p><a href="#section1">section1</a></p>
68 <p><a href="#section_2">section 2</a></p>
69 <p><a href="#section_three">section three</a></p>
70 <p><a href="#item_item1">item1</a></p>
71 <p><a href="#item_item_2">item 2</a></p>
72 <p><a href="#item_item_three">item three</a></p>
73 <p><a href="#section1">text</a></p>
74 <p><a href="#section_2">text</a></p>
75 <p><a href="#section_three">text</a></p>
76 <p><a href="#item_item1">text</a></p>
77 <p><a href="#item_item_2">text</a></p>
78 <p><a href="#item_item_three">text</a></p>
79 <p><a href="#section1">text</a></p>
80 <p><a href="#section_2">text</a></p>
81 <p><a href="#section_three">text</a></p>
82 <p><a href="#item_item1">text</a></p>
83 <p><a href="#item_item_2">text</a></p>
84 <p><a href="#item_item_three">text</a></p>
85 <p><a href="#section1">text</a></p>
86 <p><a href="#section_2">text</a></p>
87 <p><a href="#section_three">text</a></p>
88 <p><a href="#item_item1">text</a></p>
89 <p><a href="#item_item_2">text</a></p>
90 <p><a href="#item_item_three">text</a></p>
94 <h1><a name="targets">TARGETS</a></h1>
97 <h2><a name="section1">section1</a></h2>
98 <p>This is section one.</p>
101 <h2><a name="section_2">section 2</a></h2>
102 <p>This is section two.</p>
105 <h2><a name="section_three">section three</a></h2>
106 <p>This is section three.</p>
108 <dt><strong><a name="item_item1">item1</a></strong><br />
114 <dt><strong><a name="item_item_2">item 2</a></strong><br />
120 <dt><strong><a name="item_item_three">item three</a></strong><br />