diff options
Diffstat (limited to 'contrib/texi2pod.pl')
-rwxr-xr-x | contrib/texi2pod.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl index 8c63ba29200..190d58e8c95 100755 --- a/contrib/texi2pod.pl +++ b/contrib/texi2pod.pl @@ -241,9 +241,14 @@ while(<$inf>) { and $_ = "\n=head3 $1\n"; # Block command handlers: - /^\@itemize\s+(\@[a-z]+|\*|-)/ and do { + /^\@itemize(?:\s+(\@[a-z]+|\*|-))?/ and do { push @endwstack, $endw; push @icstack, $ic; + if (defined $1) { + $ic = $1; + } else { + $ic = '@bullet'; + } $ic = $1; $_ = "\n=over 4\n"; $endw = "itemize"; |