forked from luck/tmp_suning_uos_patched
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
|
@ -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…
Reference in New Issue
Block a user