mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
kernel-doc/rst: blank lines in output are not needed
Current approach leads to two blank lines, while one is enough. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
a0b96c2dbd
commit
830066a7a3
1 changed files with 1 additions and 6 deletions
|
@ -1786,12 +1786,7 @@ sub output_highlight_rst {
|
|||
die $@ if $@;
|
||||
|
||||
foreach $line (split "\n", $contents) {
|
||||
if ($line eq "") {
|
||||
print $lineprefix, $blankline;
|
||||
} else {
|
||||
print $lineprefix, $line;
|
||||
}
|
||||
print "\n";
|
||||
print $lineprefix . $line . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue