1 #!/usr/bin/perl -w # -*- perl -*-
5 unshift @INC, '../lib';
6 unshift @INC, '../lib/Pod/t';
7 require "pod2html-lib.pl";
11 use Test::More tests => 1;
13 convert_n_test("htmlview", "html rendering");
16 <?xml version="1.0" ?>
17 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
18 <html xmlns="http://www.w3.org/1999/xhtml">
21 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
22 <link rev="made" href="mailto:[PERLADMIN]" />
25 <body style="background-color: white">
30 <p><a name="__index__"></a></p>
34 <li><a href="#name">NAME</a></li>
35 <li><a href="#synopsis">SYNOPSIS</a></li>
36 <li><a href="#description">DESCRIPTION</a></li>
37 <li><a href="#methods____other_stuff">METHODS => OTHER STUFF</a></li>
40 <li><a href="#new__"><code>new()</code></a></li>
41 <li><a href="#old__"><code>old()</code></a></li>
44 <li><a href="#testing_for_and_begin">TESTING FOR AND BEGIN</a></li>
45 <li><a href="#testing_urls_hyperlinking">TESTING URLs hyperlinking</a></li>
46 <li><a href="#see_also">SEE ALSO</a></li>
55 <h1><a name="name">NAME</a></h1>
56 <p>Test HTML Rendering</p>
60 <h1><a name="synopsis">SYNOPSIS</a></h1>
64 my $module = My::Module->new();</pre>
68 <h1><a name="description">DESCRIPTION</a></h1>
69 <p>This is the description.</p>
71 Here is a verbatim section.</pre>
72 <p>This is some more regular text.</p>
73 <p>Here is some <strong>bold</strong> text, some <em>italic</em> and something that looks
74 like an <html> tag. This is some <code>$code($arg1)</code>.</p>
75 <p>This <code>text contains embedded bold and italic tags</code>. These can
76 be nested, allowing <strong>bold and <em>bold & italic</em> text</strong>. The module also
77 supports the extended <strong>syntax </strong>> and permits <em>nested tags &
78 other <strong>cool </strong></em>> stuff >></p>
82 <h1><a name="methods____other_stuff">METHODS => OTHER STUFF</a></h1>
83 <p>Here is a list of methods</p>
86 <h2><a name="new__"><code>new()</code></a></h2>
87 <p>Constructor method. Accepts the following config options:</p>
89 <dt><strong><a name="foo" class="item">foo</a></strong></dt>
94 <dt><strong><a name="bar" class="item">bar</a></strong></dt>
98 <p>This is a list within a list</p>
108 <dt><strong><a name="baz" class="item">baz</a></strong></dt>
114 <p>Title on the same line as the =item + * bullets</p>
116 <li><strong><a name="black_cat" class="item"><code>Black</code> Cat</a></strong>
119 <li><strong><a name="sat_on_the" class="item">Sat <em>on</em> the</a></strong>
122 <li><strong><a name="mat" class="item">Mat<!></a></strong>
126 <p>Title on the same line as the =item + numerical bullets</p>
128 <li><strong><a name="cat" class="item">Cat</a></strong>
131 <li><strong><a name="sat" class="item">Sat</a></strong>
134 <li><strong><a name="mat2" class="item">Mat</a></strong>
138 <p>No bullets, no title</p>
155 <h2><a name="old__"><code>old()</code></a></h2>
156 <p>Destructor method</p>
160 <h1><a name="testing_for_and_begin">TESTING FOR AND BEGIN</a></h1>
164 </p><p>intermediate text</p>
170 <h1><a name="testing_urls_hyperlinking">TESTING URLs hyperlinking</a></h1>
171 <p>This is an href link1: <a href="http://example.com">http://example.com</a></p>
172 <p>This is an href link2: <a href="http://example.com/foo/bar.html">http://example.com/foo/bar.html</a></p>
173 <p>This is an email link: <a href="mailto:mailto:foo@bar.com">mailto:foo@bar.com</a></p>
175 This is a link in a verbatim block <a href="<a href="http://perl.org">http://perl.org</a>"> Perl </a></pre>
179 <h1><a name="see_also">SEE ALSO</a></h1>
180 <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>
181 manpages and the other interesting file <em class="file">/usr/local/my/module/rocks</em>