diff options
author | Brendan O'Dea <bod@debian.org> | 2007-12-01 22:59:12 +1100 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2007-12-26 14:36:13 +0000 |
commit | 056749dc23d4abf0e88f273fa54d1f76a2202a64 (patch) | |
tree | 629907335a89139d8623aee1572f1ab580665687 /lib/Pod/t | |
parent | 649a2d69cba5456d243c77abefcc644293c5d08a (diff) | |
download | perl-056749dc23d4abf0e88f273fa54d1f76a2202a64.tar.gz |
Pod::Html: fix markup errors with (nested) definition lists
Message-ID: <20071201005912.GA14441@londo.c47.org>
p4raw-id: //depot/perl@32727
Diffstat (limited to 'lib/Pod/t')
-rw-r--r-- | lib/Pod/t/htmllink.t | 9 | ||||
-rw-r--r-- | lib/Pod/t/htmlview.pod | 2 | ||||
-rw-r--r-- | lib/Pod/t/htmlview.t | 21 |
3 files changed, 15 insertions, 17 deletions
diff --git a/lib/Pod/t/htmllink.t b/lib/Pod/t/htmllink.t index e8c10a7705..ab1179656a 100644 --- a/lib/Pod/t/htmllink.t +++ b/lib/Pod/t/htmllink.t @@ -108,24 +108,21 @@ __DATA__ <h2><a name="section_three">section three</a></h2> <p>This is section three.</p> <dl> -<dt><strong><a name="item1" class="item">item1</a></strong> +<dt><strong><a name="item1" class="item">item1</a></strong></dt> <dd> <p>This is item one.</p> </dd> -</li> -<dt><strong><a name="item_2" class="item">item 2</a></strong> +<dt><strong><a name="item_2" class="item">item 2</a></strong></dt> <dd> <p>This is item two.</p> </dd> -</li> -<dt><strong><a name="item_three" class="item">item three</a></strong> +<dt><strong><a name="item_three" class="item">item three</a></strong></dt> <dd> <p>This is item three.</p> </dd> -</li> </dl> </body> diff --git a/lib/Pod/t/htmlview.pod b/lib/Pod/t/htmlview.pod index 3ac378987e..2ac15d36fe 100644 --- a/lib/Pod/t/htmlview.pod +++ b/lib/Pod/t/htmlview.pod @@ -110,7 +110,7 @@ Destructor method =head1 TESTING FOR AND BEGIN -=for html <br> +=for html <br /> <p> blah blah </p> diff --git a/lib/Pod/t/htmlview.t b/lib/Pod/t/htmlview.t index 03a1f1aa21..03fe6e572b 100644 --- a/lib/Pod/t/htmlview.t +++ b/lib/Pod/t/htmlview.t @@ -86,17 +86,15 @@ other <strong>cool </strong></em>> stuff >></p> <h2><a name="new__"><code>new()</code></a></h2> <p>Constructor method. Accepts the following config options:</p> <dl> -<dt><strong><a name="foo" class="item">foo</a></strong> +<dt><strong><a name="foo" class="item">foo</a></strong></dt> <dd> <p>The foo item.</p> </dd> -</li> -<dt><strong><a name="bar" class="item">bar</a></strong> +<dt><strong><a name="bar" class="item">bar</a></strong></dt> <dd> <p>The bar item.</p> -</dd> <p>This is a list within a list</p> <ul> <li> @@ -106,30 +104,36 @@ other <strong>cool </strong></em>> stuff >></p> <p>The waz item.</p> </li> </ul> -<dt><strong><a name="baz" class="item">baz</a></strong> +</dd> +<dt><strong><a name="baz" class="item">baz</a></strong></dt> <dd> <p>The baz item.</p> </dd> -</li> </dl> <p>Title on the same line as the =item + * bullets</p> <ul> <li><strong><a name="black_cat" class="item"><code>Black</code> Cat</a></strong> +</li> <li><strong><a name="sat_on_the" class="item">Sat <em>on</em> the</a></strong> +</li> <li><strong><a name="mat" class="item">Mat<!></a></strong> +</li> </ul> <p>Title on the same line as the =item + numerical bullets</p> <ol> <li><strong><a name="cat" class="item">Cat</a></strong> +</li> <li><strong><a name="sat" class="item">Sat</a></strong> +</li> <li><strong><a name="mat2" class="item">Mat</a></strong> +</li> </ol> <p>No bullets, no title</p> <dl> @@ -137,17 +141,14 @@ other <strong>cool </strong></em>> stuff >></p> <dd> <p>Cat</p> </dd> -</li> <dt> <dd> <p>Sat</p> </dd> -</li> <dt> <dd> <p>Mat</p> </dd> -</li> </dl> <p> </p> @@ -157,7 +158,7 @@ other <strong>cool </strong></em>> stuff >></p> </p> <hr /> <h1><a name="testing_for_and_begin">TESTING FOR AND BEGIN</a></h1> -<br> +<br /> <p> blah blah </p><p>intermediate text</p> |