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("podnoerr", "pod error section", 11 "--nopoderrors", 12); 13 14__DATA__ 15<?xml version="1.0" ?> 16<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 17<html xmlns="http://www.w3.org/1999/xhtml"> 18<head> 19<title></title> 20<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 21<link rev="made" href="mailto:[PERLADMIN]" /> 22</head> 23 24<body> 25 26 27 28<ul id="index"> 29 <li><a href="#NAME">NAME</a></li> 30</ul> 31 32<h1 id="NAME">NAME</h1> 33 34<p>Test POD ERROR section</p> 35 36<ul> 37 38<p>This text is not allowed</p> 39 40<p>*</p> 41 42<p>The wiz item.</p> 43 44<p>*</p> 45 46<p>The waz item.</p> 47 48</ul> 49 50 51</body> 52 53</html> 54 55 56