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:
Jani Nikula 2016-05-26 22:04:33 +03:00
parent a0b96c2dbd
commit 830066a7a3
1 changed files with 1 additions and 6 deletions

View File

@ -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";
}
}