Commit | Line | Data |
---|---|---|
6e38a594 YST |
1 | #!/usr/bin/perl -w # -*- perl -*- |
2 | ||
3 | BEGIN { | |
ea329caf | 4 | require "./t/pod2html-lib.pl"; |
6e38a594 YST |
5 | } |
6 | ||
7 | use strict; | |
8 | use Test::More tests => 1; | |
9 | ||
bee6d115 | 10 | convert_n_test("htmllink", "html links"); |
6e38a594 YST |
11 | |
12 | __DATA__ | |
5d15cdb2 | 13 | <?xml version="1.0" ?> |
6e38a594 YST |
14 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
15 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
16 | <head> | |
38e30ca7 | 17 | <title>htmllink - Test HTML links</title> |
5d15cdb2 | 18 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
3cdcf057 | 19 | <link rev="made" href="mailto:[PERLADMIN]" /> |
6e38a594 YST |
20 | </head> |
21 | ||
e6afd145 | 22 | <body> |
6e38a594 | 23 | |
25ff0154 | 24 | |
6e38a594 | 25 | |
8390d18f MG |
26 | <ul id="index"> |
27 | <li><a href="#NAME">NAME</a></li> | |
28 | <li><a href="#LINKS">LINKS</a></li> | |
29 | <li><a href="#TARGETS">TARGETS</a> | |
30 | <ul> | |
31 | <li><a href="#section1">section1</a></li> | |
32 | <li><a href="#section-2">section 2</a></li> | |
33 | <li><a href="#section-three">section three</a></li> | |
34 | </ul> | |
35 | </li> | |
36 | </ul> | |
6e38a594 | 37 | |
8390d18f | 38 | <h1 id="NAME">NAME</h1> |
6e38a594 | 39 | |
8390d18f | 40 | <p>htmllink - Test HTML links</p> |
6e38a594 | 41 | |
8390d18f | 42 | <h1 id="LINKS">LINKS</h1> |
25ff0154 | 43 | |
8390d18f MG |
44 | <p><a href="#section1">"section1"</a></p> |
45 | ||
46 | <p><a href="#section-2">"section 2"</a></p> | |
47 | ||
48 | <p><a href="#section-three">"section three"</a></p> | |
49 | ||
50 | <p><a href="#item1">"item1"</a></p> | |
51 | ||
52 | <p><a href="#item-2">"item 2"</a></p> | |
53 | ||
54 | <p><a href="#item-three">"item three"</a></p> | |
55 | ||
56 | <p><a href="#section1">"section1"</a></p> | |
57 | ||
58 | <p><a href="#section-2">"section 2"</a></p> | |
59 | ||
60 | <p><a href="#section-three">"section three"</a></p> | |
61 | ||
62 | <p><a href="#item1">"item1"</a></p> | |
63 | ||
64 | <p><a href="#item-2">"item 2"</a></p> | |
65 | ||
66 | <p><a href="#item-three">"item three"</a></p> | |
67 | ||
68 | <p><a href="#section1">"section1"</a></p> | |
69 | ||
70 | <p><a href="#section-2">"section 2"</a></p> | |
71 | ||
72 | <p><a href="#section-three">"section three"</a></p> | |
73 | ||
74 | <p><a href="#item1">"item1"</a></p> | |
75 | ||
76 | <p><a href="#item-2">"item 2"</a></p> | |
77 | ||
78 | <p><a href="#item-three">"item three"</a></p> | |
6e38a594 | 79 | |
6e38a594 | 80 | <p><a href="#section1">text</a></p> |
8390d18f MG |
81 | |
82 | <p><a href="#section-2">text</a></p> | |
83 | ||
84 | <p><a href="#section-three">text</a></p> | |
85 | ||
ffb0b41d | 86 | <p><a href="#item1">text</a></p> |
8390d18f MG |
87 | |
88 | <p><a href="#item-2">text</a></p> | |
89 | ||
90 | <p><a href="#item-three">text</a></p> | |
91 | ||
6e38a594 | 92 | <p><a href="#section1">text</a></p> |
8390d18f MG |
93 | |
94 | <p><a href="#section-2">text</a></p> | |
95 | ||
96 | <p><a href="#section-three">text</a></p> | |
97 | ||
ffb0b41d | 98 | <p><a href="#item1">text</a></p> |
8390d18f MG |
99 | |
100 | <p><a href="#item-2">text</a></p> | |
101 | ||
102 | <p><a href="#item-three">text</a></p> | |
103 | ||
6e38a594 | 104 | <p><a href="#section1">text</a></p> |
8390d18f MG |
105 | |
106 | <p><a href="#section-2">text</a></p> | |
107 | ||
108 | <p><a href="#section-three">text</a></p> | |
109 | ||
ffb0b41d | 110 | <p><a href="#item1">text</a></p> |
8390d18f MG |
111 | |
112 | <p><a href="#item-2">text</a></p> | |
113 | ||
114 | <p><a href="#item-three">text</a></p> | |
115 | ||
116 | <h1 id="TARGETS">TARGETS</h1> | |
117 | ||
118 | <h2 id="section1">section1</h2> | |
119 | ||
6e38a594 | 120 | <p>This is section one.</p> |
8390d18f MG |
121 | |
122 | <h2 id="section-2">section 2</h2> | |
123 | ||
6e38a594 | 124 | <p>This is section two.</p> |
8390d18f MG |
125 | |
126 | <h2 id="section-three">section three</h2> | |
127 | ||
6e38a594 | 128 | <p>This is section three.</p> |
8390d18f | 129 | |
6e38a594 | 130 | <dl> |
27ad5321 | 131 | |
8390d18f | 132 | <dt id="item1">item1 </dt> |
6e38a594 | 133 | <dd> |
8390d18f | 134 | |
27ad5321 | 135 | <p>This is item one.</p> |
27ad5321 | 136 | |
8390d18f MG |
137 | </dd> |
138 | <dt id="item-2">item 2 </dt> | |
6e38a594 | 139 | <dd> |
8390d18f | 140 | |
27ad5321 | 141 | <p>This is item two.</p> |
27ad5321 | 142 | |
8390d18f MG |
143 | </dd> |
144 | <dt id="item-three">item three </dt> | |
6e38a594 | 145 | <dd> |
8390d18f | 146 | |
27ad5321 | 147 | <p>This is item three.</p> |
8390d18f | 148 | |
6e38a594 | 149 | </dd> |
27ad5321 | 150 | </dl> |
6e38a594 | 151 | |
8390d18f | 152 | |
6e38a594 YST |
153 | </body> |
154 | ||
155 | </html> | |
8390d18f MG |
156 | |
157 |