Package: perl-modules
Version: 5.8.8-7
Severity: normal

The attached testcase shows several issues with definition lists generated 
from pod files:
- <dt> tags are not closed (see also #423168, patch available)
- generated code contains spurious </li> closing tags
- when other (definition) lists are nested in a definition list, the
  indentation of sublevels gets messed up because of incorrect placement
  of <dt> tags

The attached files are:
- test.pod: source file
- test.html: incorrect output file generated using current Pod::Html
- test.corrX.html: alternative manually corrected output files

The first corrected file is cleaner (no redundant <dt> tags) than the 
second, but also somewhat further removed from current code.

Cheers,
FJP

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-rc5 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages perl-modules depends on:
ii  perl            5.8.8-7    Larry Wall's Practical Extraction

perl-modules recommends no packages.

-- no debconf information

Title: Nested definition list testcase


Nested definition list testcase

Some general intro

Term 1

Definition for term 1

Term 2

Introduction for term 2

Term 2.1

Definition for term 2.1

More definition for term 2.1

Term 2.2

Introduction for term 2.2

  • Bullet 1

  • Bullet 2

Last comment for term 2.2

Term 2.3

Definition for term 2.3

Term 3

Definition for term 3

Title: Nested definition list testcase


Nested definition list testcase

Some general intro

Term 1

Definition for term 1

Term 2

Introduction for term 2

Term 2.1

Definition for term 2.1

More definition for term 2.1

Term 2.2

Introduction for term 2.2

  • Bullet 1

  • Bullet 2

Last comment for term 2.2

Term 2.3

Definition for term 2.3

Term 3

Definition for term 3

Title: Nested definition list testcase


Nested definition list testcase

Some general intro

Term 1

Definition for term 1

Term 2

Introduction for term 2

Term 2.1

Definition for term 2.1

More definition for term 2.1

Term 2.2

Introduction for term 2.2

  • Bullet 1

  • Bullet 2

Last comment for term 2.2

Term 2.3

Definition for term 2.3

Term 3

Definition for term 3

=head1 Nested definition list testcase

Some general intro

=over 4

=item Term 1

Definition for term 1

=item Term 2

Introduction for term 2

=over 4

=item Term 2.1

Definition for term 2.1

More definition for term 2.1

=item Term 2.2

Introduction for term 2.2

=over 4

=item *

Bullet 1

=item *

Bullet 2

=back

Last comment for term 2.2

=item Term 2.3

Definition for term 2.3

=back

=item Term 3

Definition for term 3

=back

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to