Commit 830066a7 authored by Jani Nikula's avatar Jani Nikula

kernel-doc/rst: blank lines in output are not needed

Current approach leads to two blank lines, while one is enough.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent a0b96c2d
......@@ -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";
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment