Commit 9c9193c4 authored by Jani Nikula's avatar Jani Nikula

kernel-doc/rst: drop redundant unescape in highlighting

This bit is already done by xml_unescape() above.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment