aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-xscripts/kernel-doc3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 351def5c6b8f..8bf1e54f14e0 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1674,6 +1674,9 @@ sub process_state3_type($$) {
1674# replace <, >, and & 1674# replace <, >, and &
1675sub xml_escape($) { 1675sub xml_escape($) {
1676 my $text = shift; 1676 my $text = shift;
1677 if (($output_mode eq "text") || ($output_mode eq "man")) {
1678 return $text;
1679 }
1677 $text =~ s/\&/\\\\\\amp;/g; 1680 $text =~ s/\&/\\\\\\amp;/g;
1678 $text =~ s/\</\\\\\\lt;/g; 1681 $text =~ s/\</\\\\\\lt;/g;
1679 $text =~ s/\>/\\\\\\gt;/g; 1682 $text =~ s/\>/\\\\\\gt;/g;