提交 830066a7 编写于 作者: J 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: NJani Nikula <jani.nikula@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册