Skip to content

Commit f213477

Browse files
committed
Handle bullets correctly
1 parent 3997bff commit f213477

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

script/release

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,9 @@ unless( $release->debug or $opts{C} or $release->config->skip_changes ) {
705705
my $str = $Version . ' ' . $release->get_release_date . "\n";
706706

707707
while( <STDIN> ) {
708-
$_ =~ s/\A \s* (\*|-)? \s*/- /; # Make bullets (-)
709-
$_ =~ s/\A(\S)/\t$1/; # always indent
708+
$_ =~ s/\A \s* \* \s*/* /x; # Make top-level bullets (*)
709+
$_ =~ s/\A \s* - \s*/\t- /x; # Make second-level bullets (-)
710+
$_ =~ s/\A/\t/; # always indent
710711

711712
$str .= $_;
712713
$release->_print( "> " );

0 commit comments

Comments
 (0)