Subject: | test for non-blank line before command tags |
Hello Andy,
This got through Test::Pod, but generated broken HTML after going through pod2html. Here's the snippet:
=head1 SYNOPSIS
xml_file_ok($xmlfilename);
=head1 DESCRIPTION
##############
It looks normal, but there is a space on the line below "xml..." making it non-blank.
This causes the last line to be formatted in a "<pre>" tag, instead of as a real H1 tag.
It seems that Test::Pod could check that all lines starting with "=" have a
totally blank line above them. (If that is a fact a pod formatting rule...otherwise this is a pod2html bug I guess).
Mark