#!/usr/bin/perl -w # -*- perl -*- BEGIN { require "t/pod2html-lib.pl"; } use strict; use Test::More tests => 1; convert_n_test("htmlview", "html rendering", "--quiet"); __DATA__

NAME

Test HTML Rendering

SYNOPSIS

    use My::Module;

    my $module = My::Module->new();

DESCRIPTION

This is the description.

    Here is a verbatim section.

This is some more regular text.

Here is some bold text, some italic and something that looks like an <html> tag. This is some $code($arg1).

This text contains embedded bold and italic tags. These can be nested, allowing bold and bold & italic text. The module also supports the extended syntax and permits nested tags & other cool stuff

METHODS => OTHER STUFF

Here is a list of methods

new()

Constructor method. Accepts the following config options:

foo

The foo item.

bar

The bar item.

baz

The baz item.

Title on the same line as the =item + * bullets

Title on the same line as the =item + numerical bullets

  1. Cat

  2. Sat

  3. Mat

Numbered list with text on the same line

1 Cat
2 Sat
3 Mat

No bullets, no title

old()

Destructor method

TESTING FOR AND BEGIN


blah blah

intermediate text

HTML some text

TESTING URLs hyperlinking

This is an href link1: http://example.com

This is an href link2: http://example.com/foo/bar.html

This is an email link: mailto:foo@bar.com

    This is a link in a verbatim block <a href="http://perl.org"> Perl </a>

SEE ALSO

See also Test Page 2, the Your::Module and Their::Module manpages and the other interesting file /usr/local/my/module/rocks as well.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 45:

You can't have =items (as at line 49) unless the first thing after the =over is an =item