htmllink.t revision 1.1.1.2
1#!/usr/bin/perl -w # -*- perl -*- 2 3BEGIN { 4 require "t/pod2html-lib.pl"; 5} 6 7use strict; 8use Test::More tests => 1; 9 10convert_n_test("htmllink", "html links"); 11 12__DATA__ 13<?xml version="1.0" ?> 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> 17<title></title> 18<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 19<link rev="made" href="mailto:[PERLADMIN]" /> 20</head> 21 22<body> 23 24 25 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> 37 38<h1 id="NAME">NAME</h1> 39 40<p>htmllink - Test HTML links</p> 41 42<h1 id="LINKS">LINKS</h1> 43 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> 79 80<p><a href="#section1">text</a></p> 81 82<p><a href="#section-2">text</a></p> 83 84<p><a href="#section-three">text</a></p> 85 86<p><a href="#item1">text</a></p> 87 88<p><a href="#item-2">text</a></p> 89 90<p><a href="#item-three">text</a></p> 91 92<p><a href="#section1">text</a></p> 93 94<p><a href="#section-2">text</a></p> 95 96<p><a href="#section-three">text</a></p> 97 98<p><a href="#item1">text</a></p> 99 100<p><a href="#item-2">text</a></p> 101 102<p><a href="#item-three">text</a></p> 103 104<p><a href="#section1">text</a></p> 105 106<p><a href="#section-2">text</a></p> 107 108<p><a href="#section-three">text</a></p> 109 110<p><a href="#item1">text</a></p> 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 120<p>This is section one.</p> 121 122<h2 id="section-2">section 2</h2> 123 124<p>This is section two.</p> 125 126<h2 id="section-three">section three</h2> 127 128<p>This is section three.</p> 129 130<dl> 131 132<dt id="item1">item1 </dt> 133<dd> 134 135<p>This is item one.</p> 136 137</dd> 138<dt id="item-2">item 2 </dt> 139<dd> 140 141<p>This is item two.</p> 142 143</dd> 144<dt id="item-three">item three </dt> 145<dd> 146 147<p>This is item three.</p> 148 149</dd> 150</dl> 151 152 153</body> 154 155</html> 156 157 158