1*0Sstevel@tonic-gate#!/usr/bin/perl -w # -*- perl -*- 2*0Sstevel@tonic-gate 3*0Sstevel@tonic-gateBEGIN { 4*0Sstevel@tonic-gate chdir 't' if -d 't'; 5*0Sstevel@tonic-gate unshift @INC, '../lib'; 6*0Sstevel@tonic-gate unshift @INC, '../lib/Pod/t'; 7*0Sstevel@tonic-gate require "pod2html-lib.pl"; 8*0Sstevel@tonic-gate} 9*0Sstevel@tonic-gate 10*0Sstevel@tonic-gateuse strict; 11*0Sstevel@tonic-gateuse Test::More tests => 1; 12*0Sstevel@tonic-gate 13*0Sstevel@tonic-gateconvert_n_test("htmlview", "html rendering"); 14*0Sstevel@tonic-gate 15*0Sstevel@tonic-gate__DATA__ 16*0Sstevel@tonic-gate<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 17*0Sstevel@tonic-gate<html xmlns="http://www.w3.org/1999/xhtml"> 18*0Sstevel@tonic-gate<head> 19*0Sstevel@tonic-gate<title>NAME</title> 20*0Sstevel@tonic-gate<link rev="made" href="mailto:[PERLADMIN]" /> 21*0Sstevel@tonic-gate</head> 22*0Sstevel@tonic-gate 23*0Sstevel@tonic-gate<body style="background-color: white"> 24*0Sstevel@tonic-gate 25*0Sstevel@tonic-gate<p><a name="__index__"></a></p> 26*0Sstevel@tonic-gate<!-- INDEX BEGIN --> 27*0Sstevel@tonic-gate 28*0Sstevel@tonic-gate<ul> 29*0Sstevel@tonic-gate 30*0Sstevel@tonic-gate <li><a href="#name">NAME</a></li> 31*0Sstevel@tonic-gate <li><a href="#synopsis">SYNOPSIS</a></li> 32*0Sstevel@tonic-gate <li><a href="#description">DESCRIPTION</a></li> 33*0Sstevel@tonic-gate <li><a href="#methods____other_stuff">METHODS => OTHER STUFF</a></li> 34*0Sstevel@tonic-gate <ul> 35*0Sstevel@tonic-gate 36*0Sstevel@tonic-gate <li><a href="#new__"><code>new()</code></a></li> 37*0Sstevel@tonic-gate <li><a href="#old__"><code>old()</code></a></li> 38*0Sstevel@tonic-gate </ul> 39*0Sstevel@tonic-gate 40*0Sstevel@tonic-gate <li><a href="#testing_for_and_begin">TESTING FOR AND BEGIN</a></li> 41*0Sstevel@tonic-gate <li><a href="#testing_urls_hyperlinking">TESTING URLs hyperlinking</a></li> 42*0Sstevel@tonic-gate <li><a href="#see_also">SEE ALSO</a></li> 43*0Sstevel@tonic-gate</ul> 44*0Sstevel@tonic-gate<!-- INDEX END --> 45*0Sstevel@tonic-gate 46*0Sstevel@tonic-gate<hr /> 47*0Sstevel@tonic-gate<p> 48*0Sstevel@tonic-gate</p> 49*0Sstevel@tonic-gate<h1><a name="name">NAME</a></h1> 50*0Sstevel@tonic-gate<p>Test HTML Rendering</p> 51*0Sstevel@tonic-gate<p> 52*0Sstevel@tonic-gate</p> 53*0Sstevel@tonic-gate<hr /> 54*0Sstevel@tonic-gate<h1><a name="synopsis">SYNOPSIS</a></h1> 55*0Sstevel@tonic-gate<pre> 56*0Sstevel@tonic-gate use My::Module;</pre> 57*0Sstevel@tonic-gate<pre> 58*0Sstevel@tonic-gate my $module = My::Module->new();</pre> 59*0Sstevel@tonic-gate<p> 60*0Sstevel@tonic-gate</p> 61*0Sstevel@tonic-gate<hr /> 62*0Sstevel@tonic-gate<h1><a name="description">DESCRIPTION</a></h1> 63*0Sstevel@tonic-gate<p>This is the description.</p> 64*0Sstevel@tonic-gate<pre> 65*0Sstevel@tonic-gate Here is a verbatim section.</pre> 66*0Sstevel@tonic-gate<p>This is some more regular text.</p> 67*0Sstevel@tonic-gate<p>Here is some <strong>bold</strong> text, some <em>italic</em> and something that looks 68*0Sstevel@tonic-gatelike an <html> tag. This is some <code>$code($arg1)</code>.</p> 69*0Sstevel@tonic-gate<p>This <code>text contains embedded bold and italic tags</code>. These can 70*0Sstevel@tonic-gatebe nested, allowing <strong>bold and <em>bold & italic</em> text</strong>. The module also 71*0Sstevel@tonic-gatesupports the extended <strong>syntax </strong>> and permits <em>nested tags & 72*0Sstevel@tonic-gateother <strong>cool </strong></em>> stuff >></p> 73*0Sstevel@tonic-gate<p> 74*0Sstevel@tonic-gate</p> 75*0Sstevel@tonic-gate<hr /> 76*0Sstevel@tonic-gate<h1><a name="methods____other_stuff">METHODS => OTHER STUFF</a></h1> 77*0Sstevel@tonic-gate<p>Here is a list of methods</p> 78*0Sstevel@tonic-gate<p> 79*0Sstevel@tonic-gate</p> 80*0Sstevel@tonic-gate<h2><a name="new__"><code>new()</code></a></h2> 81*0Sstevel@tonic-gate<p>Constructor method. Accepts the following config options:</p> 82*0Sstevel@tonic-gate<dl> 83*0Sstevel@tonic-gate<dt><strong><a name="item_foo">foo</a></strong><br /> 84*0Sstevel@tonic-gate</dt> 85*0Sstevel@tonic-gate<dd> 86*0Sstevel@tonic-gateThe foo item. 87*0Sstevel@tonic-gate</dd> 88*0Sstevel@tonic-gate<p></p> 89*0Sstevel@tonic-gate<dt><strong><a name="item_bar">bar</a></strong><br /> 90*0Sstevel@tonic-gate</dt> 91*0Sstevel@tonic-gate<dd> 92*0Sstevel@tonic-gateThe bar item. 93*0Sstevel@tonic-gate</dd> 94*0Sstevel@tonic-gate<p>This is a list within a list</p> 95*0Sstevel@tonic-gate<ul> 96*0Sstevel@tonic-gate<li></li> 97*0Sstevel@tonic-gateThe wiz item. 98*0Sstevel@tonic-gate<p></p> 99*0Sstevel@tonic-gate<li></li> 100*0Sstevel@tonic-gateThe waz item. 101*0Sstevel@tonic-gate<p></p></ul> 102*0Sstevel@tonic-gate<dt><strong><a name="item_baz">baz</a></strong><br /> 103*0Sstevel@tonic-gate</dt> 104*0Sstevel@tonic-gate<dd> 105*0Sstevel@tonic-gateThe baz item. 106*0Sstevel@tonic-gate</dd> 107*0Sstevel@tonic-gate<p></p></dl> 108*0Sstevel@tonic-gate<p>Title on the same line as the =item + * bullets</p> 109*0Sstevel@tonic-gate<ul> 110*0Sstevel@tonic-gate<li><strong><a name="item_black_cat"><code>Black</code> Cat</a></strong><br /> 111*0Sstevel@tonic-gate</li> 112*0Sstevel@tonic-gate<li><strong><a name="item_sat_on_the">Sat <em>on</em> the</a></strong><br /> 113*0Sstevel@tonic-gate</li> 114*0Sstevel@tonic-gate<li><strong><a name="item_mat_3c_21_3e">Mat<!></a></strong><br /> 115*0Sstevel@tonic-gate</li> 116*0Sstevel@tonic-gate</ul> 117*0Sstevel@tonic-gate<p>Title on the same line as the =item + numerical bullets</p> 118*0Sstevel@tonic-gate<ol> 119*0Sstevel@tonic-gate<li><strong><a name="item_cat">Cat</a></strong><br /> 120*0Sstevel@tonic-gate</li> 121*0Sstevel@tonic-gate<li><strong><a name="item_sat">Sat</a></strong><br /> 122*0Sstevel@tonic-gate</li> 123*0Sstevel@tonic-gate<li><strong><a name="item_mat">Mat</a></strong><br /> 124*0Sstevel@tonic-gate</li> 125*0Sstevel@tonic-gate</ol> 126*0Sstevel@tonic-gate<p>No bullets, no title</p> 127*0Sstevel@tonic-gate<dl> 128*0Sstevel@tonic-gate<dt></dt> 129*0Sstevel@tonic-gate<dd> 130*0Sstevel@tonic-gateCat 131*0Sstevel@tonic-gate</dd> 132*0Sstevel@tonic-gate<p></p> 133*0Sstevel@tonic-gate<dt></dt> 134*0Sstevel@tonic-gate<dd> 135*0Sstevel@tonic-gateSat 136*0Sstevel@tonic-gate</dd> 137*0Sstevel@tonic-gate<p></p> 138*0Sstevel@tonic-gate<dt></dt> 139*0Sstevel@tonic-gate<dd> 140*0Sstevel@tonic-gateMat 141*0Sstevel@tonic-gate</dd> 142*0Sstevel@tonic-gate<p></p></dl> 143*0Sstevel@tonic-gate<p> 144*0Sstevel@tonic-gate</p> 145*0Sstevel@tonic-gate<h2><a name="old__"><code>old()</code></a></h2> 146*0Sstevel@tonic-gate<p>Destructor method</p> 147*0Sstevel@tonic-gate<p> 148*0Sstevel@tonic-gate</p> 149*0Sstevel@tonic-gate<hr /> 150*0Sstevel@tonic-gate<h1><a name="testing_for_and_begin">TESTING FOR AND BEGIN</a></h1> 151*0Sstevel@tonic-gate<br> 152*0Sstevel@tonic-gate<p> 153*0Sstevel@tonic-gateblah blah 154*0Sstevel@tonic-gate</p><p>intermediate text</p> 155*0Sstevel@tonic-gate<more> 156*0Sstevel@tonic-gateHTML 157*0Sstevel@tonic-gate</more>some text<p> 158*0Sstevel@tonic-gate</p> 159*0Sstevel@tonic-gate<hr /> 160*0Sstevel@tonic-gate<h1><a name="testing_urls_hyperlinking">TESTING URLs hyperlinking</a></h1> 161*0Sstevel@tonic-gate<p>This is an href link1: <a href="http://example.com">http://example.com</a></p> 162*0Sstevel@tonic-gate<p>This is an href link2: <a href="http://example.com/foo/bar.html">http://example.com/foo/bar.html</a></p> 163*0Sstevel@tonic-gate<p>This is an email link: <a href="mailto:mailto:foo@bar.com">mailto:foo@bar.com</a></p> 164*0Sstevel@tonic-gate<pre> 165*0Sstevel@tonic-gate This is a link in a verbatim block <a href="<a href="http://perl.org">http://perl.org</a>"> Perl </a></pre> 166*0Sstevel@tonic-gate<p> 167*0Sstevel@tonic-gate</p> 168*0Sstevel@tonic-gate<hr /> 169*0Sstevel@tonic-gate<h1><a name="see_also">SEE ALSO</a></h1> 170*0Sstevel@tonic-gate<p>See also <a href="/t/htmlescp.html">Test Page 2</a>, the <a href="/Your/Module.html">the Your::Module manpage</a> and <a href="/Their/Module.html">the Their::Module manpage</a> 171*0Sstevel@tonic-gatemanpages and the other interesting file <em>/usr/local/my/module/rocks</em> 172*0Sstevel@tonic-gateas well.</p> 173*0Sstevel@tonic-gate 174*0Sstevel@tonic-gate</body> 175*0Sstevel@tonic-gate 176*0Sstevel@tonic-gate</html> 177