X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=utils%2Fchangelog2doc.pl;h=a81f80c6f48e8ea0595037fa8a6cdef85a8273e0;hp=f8a3b079c88e7c45b4519ea87db8da3bd8e9db3b;hb=34a6a841e529579e2be4457ea0d4cb1befbc840a;hpb=72b847e8c4a1ad91cb47f2981b973e6d458ea5a2 diff --git a/utils/changelog2doc.pl b/utils/changelog2doc.pl index f8a3b079..a81f80c6 100755 --- a/utils/changelog2doc.pl +++ b/utils/changelog2doc.pl @@ -2,8 +2,6 @@ ########################################################################## # -# $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. @@ -41,7 +39,7 @@ sub read_entries() { 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; @@ -86,6 +84,7 @@ sub create_listitem_markup($) { } else { if (defined $entry->{last_list_item}) { $markup .= $lws . " \n"; + $markup .= $lws . " \n"; $markup .= $lws . "\n"; $lws = $default_lws; }