Commit | Line | Data |
---|---|---|
6e38a594 YST |
1 | #!/usr/bin/perl -w # -*- perl -*- |
2 | ||
3 | BEGIN { | |
4 | chdir 't' if -d 't'; | |
5 | unshift @INC, '../lib'; | |
6 | unshift @INC, '../lib/Pod/t'; | |
7 | require "pod2html-lib.pl"; | |
8 | } | |
9 | ||
10 | use strict; | |
11 | use Test::More tests => 1; | |
12 | ||
bee6d115 | 13 | convert_n_test("htmllink", "html links"); |
6e38a594 YST |
14 | |
15 | __DATA__ | |
5d15cdb2 | 16 | <?xml version="1.0" ?> |
6e38a594 YST |
17 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
18 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
19 | <head> | |
20 | <title>htmllink - Test HTML links</title> | |
5d15cdb2 | 21 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
3cdcf057 | 22 | <link rev="made" href="mailto:[PERLADMIN]" /> |
6e38a594 YST |
23 | </head> |
24 | ||
25 | <body style="background-color: white"> | |
26 | ||
25ff0154 | 27 | |
6e38a594 | 28 | <!-- INDEX BEGIN --> |
25ff0154 JA |
29 | <div name="index"> |
30 | <p><a name="__index__"></a></p> | |
6e38a594 YST |
31 | |
32 | <ul> | |
33 | ||
34 | <li><a href="#name">NAME</a></li> | |
35 | <li><a href="#links">LINKS</a></li> | |
36 | <li><a href="#targets">TARGETS</a></li> | |
37 | <ul> | |
38 | ||
39 | <li><a href="#section1">section1</a></li> | |
40 | <li><a href="#section_2">section 2</a></li> | |
41 | <li><a href="#section_three">section three</a></li> | |
42 | </ul> | |
43 | ||
44 | </ul> | |
25ff0154 JA |
45 | |
46 | <hr name="index" /> | |
47 | </div> | |
6e38a594 YST |
48 | <!-- INDEX END --> |
49 | ||
6e38a594 YST |
50 | <p> |
51 | </p> | |
52 | <h1><a name="name">NAME</a></h1> | |
53 | <p>htmllink - Test HTML links</p> | |
54 | <p> | |
55 | </p> | |
56 | <hr /> | |
57 | <h1><a name="links">LINKS</a></h1> | |
58 | <p><a href="#section1">section1</a></p> | |
59 | <p><a href="#section_2">section 2</a></p> | |
60 | <p><a href="#section_three">section three</a></p> | |
ffb0b41d AK |
61 | <p><a href="#item1">item1</a></p> |
62 | <p><a href="#item_2">item 2</a></p> | |
63 | <p><a href="#item_three">item three</a></p> | |
6e38a594 YST |
64 | <p><a href="#section1">section1</a></p> |
65 | <p><a href="#section_2">section 2</a></p> | |
66 | <p><a href="#section_three">section three</a></p> | |
ffb0b41d AK |
67 | <p><a href="#item1">item1</a></p> |
68 | <p><a href="#item_2">item 2</a></p> | |
69 | <p><a href="#item_three">item three</a></p> | |
6e38a594 YST |
70 | <p><a href="#section1">section1</a></p> |
71 | <p><a href="#section_2">section 2</a></p> | |
72 | <p><a href="#section_three">section three</a></p> | |
ffb0b41d AK |
73 | <p><a href="#item1">item1</a></p> |
74 | <p><a href="#item_2">item 2</a></p> | |
75 | <p><a href="#item_three">item three</a></p> | |
6e38a594 YST |
76 | <p><a href="#section1">text</a></p> |
77 | <p><a href="#section_2">text</a></p> | |
78 | <p><a href="#section_three">text</a></p> | |
ffb0b41d AK |
79 | <p><a href="#item1">text</a></p> |
80 | <p><a href="#item_2">text</a></p> | |
81 | <p><a href="#item_three">text</a></p> | |
6e38a594 YST |
82 | <p><a href="#section1">text</a></p> |
83 | <p><a href="#section_2">text</a></p> | |
84 | <p><a href="#section_three">text</a></p> | |
ffb0b41d AK |
85 | <p><a href="#item1">text</a></p> |
86 | <p><a href="#item_2">text</a></p> | |
87 | <p><a href="#item_three">text</a></p> | |
6e38a594 YST |
88 | <p><a href="#section1">text</a></p> |
89 | <p><a href="#section_2">text</a></p> | |
90 | <p><a href="#section_three">text</a></p> | |
ffb0b41d AK |
91 | <p><a href="#item1">text</a></p> |
92 | <p><a href="#item_2">text</a></p> | |
93 | <p><a href="#item_three">text</a></p> | |
6e38a594 YST |
94 | <p> |
95 | </p> | |
96 | <hr /> | |
97 | <h1><a name="targets">TARGETS</a></h1> | |
98 | <p> | |
99 | </p> | |
100 | <h2><a name="section1">section1</a></h2> | |
101 | <p>This is section one.</p> | |
102 | <p> | |
103 | </p> | |
104 | <h2><a name="section_2">section 2</a></h2> | |
105 | <p>This is section two.</p> | |
106 | <p> | |
107 | </p> | |
108 | <h2><a name="section_three">section three</a></h2> | |
109 | <p>This is section three.</p> | |
110 | <dl> | |
056749dc | 111 | <dt><strong><a name="item1" class="item">item1</a></strong></dt> |
27ad5321 | 112 | |
6e38a594 | 113 | <dd> |
27ad5321 | 114 | <p>This is item one.</p> |
6e38a594 | 115 | </dd> |
056749dc | 116 | <dt><strong><a name="item_2" class="item">item 2</a></strong></dt> |
27ad5321 | 117 | |
6e38a594 | 118 | <dd> |
27ad5321 | 119 | <p>This is item two.</p> |
6e38a594 | 120 | </dd> |
056749dc | 121 | <dt><strong><a name="item_three" class="item">item three</a></strong></dt> |
27ad5321 | 122 | |
6e38a594 | 123 | <dd> |
27ad5321 | 124 | <p>This is item three.</p> |
6e38a594 | 125 | </dd> |
27ad5321 | 126 | </dl> |
6e38a594 YST |
127 | |
128 | </body> | |
129 | ||
130 | </html> |