##########################################################################
#
-# $Id: changelog2doc.pl,v 1.2 2008/09/26 16:49:09 fabiankeil Exp $
-#
# Filter to parse the ChangeLog and translate the changes for
# the most recent version into something that looks like markup
# for the documentation but still needs fine-tuning.
next unless $section_reached;
next if /^\s*$/;
- if (/^(\s*)-/) {
+ if (/^(\s*)- /) {
my $indentation = length($1);
if ($i > 1 and $entries[$i]{indentation} > $indentation) {
$entries[$i]{last_list_item} = 1;
} else {
if (defined $entry->{last_list_item}) {
$markup .= $lws . " </para>\n";
+ $markup .= $lws . " </listitem>\n";
$markup .= $lws . "</itemizedlist>\n";
$lws = $default_lws;
}