提交 9c9193c4 编写于 作者: J Jani Nikula

kernel-doc/rst: drop redundant unescape in highlighting

This bit is already done by xml_unescape() above.
Signed-off-by: NJani Nikula <jani.nikula@intel.com>
上级 f3341dcf
...@@ -1796,7 +1796,6 @@ sub output_highlight_rst { ...@@ -1796,7 +1796,6 @@ sub output_highlight_rst {
if ($line eq "") { if ($line eq "") {
print $lineprefix, $blankline; print $lineprefix, $blankline;
} else { } else {
$line =~ s/\\\\\\/\&/g;
print $lineprefix, $line; print $lineprefix, $line;
} }
print "\n"; print "\n";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册