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("poderr", "pod error section"); 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 style="background-color: white"> 23 24 25 26<ul id="index"> 27 <li><a href="#NAME">NAME</a></li> 28 <li><a href="#POD-ERRORS">POD ERRORS</a></li> 29</ul> 30 31<h1 id="NAME">NAME</h1> 32 33<p>Test POD ERROR section</p> 34 35<ul> 36 37<p>This text is not allowed</p> 38 39<p>*</p> 40 41<p>The wiz item.</p> 42 43<p>*</p> 44 45<p>The waz item.</p> 46 47</ul> 48 49<h1 id="POD-ERRORS">POD ERRORS</h1> 50 51<p>Hey! <b>The above document had some coding errors, which are explained below:</b></p> 52 53<dl> 54 55<dt id="Around-line-5:">Around line 5:</dt> 56<dd> 57 58<p>You can't have =items (as at line 9) unless the first thing after the =over is an =item</p> 59 60</dd> 61</dl> 62 63 64</body> 65 66</html> 67 68 69