mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
Sneak in an extra newline after section headers
This commit is contained in:
parent
72a24f27c5
commit
3529b35da0
@ -29,7 +29,7 @@ while (<FILEIN>)
|
|||||||
$_ = $1;
|
$_ = $1;
|
||||||
if ($_ =~ s/\s*\*\/$//) { $found = 'sorta'; } else { $found = $.; }
|
if ($_ =~ s/\s*\*\/$//) { $found = 'sorta'; } else { $found = $.; }
|
||||||
my $dash; for (my $x = 0; $x < length($_); $x++) { $dash .= '-'; }
|
my $dash; for (my $x = 0; $x < length($_); $x++) { $dash .= '-'; }
|
||||||
$_ = "$_\n$dash\n";
|
$_ = "$_\n$dash\n\n";
|
||||||
$first = 1;
|
$first = 1;
|
||||||
}
|
}
|
||||||
elsif ($_ =~ /\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/)
|
elsif ($_ =~ /\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user