2005-03-03 10:45:20

by Martin Waitz

[permalink] [raw]
Subject: [PATCH 16/16] [DocBook] escape declaration_purpose

[DocBook] escape declaration_purpose
Signed-off-by: Martin Waitz <[email protected]>


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.2040 -> 1.2041
# scripts/kernel-doc 1.27 -> 1.28
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 05/03/03 [email protected] 1.2041
# [DocBook] escape declaration_purpose
#
# Signed-off-by: Martin Waitz <[email protected]>
# --------------------------------------------
#
diff -Nru a/scripts/kernel-doc b/scripts/kernel-doc
--- a/scripts/kernel-doc Thu Mar 3 11:43:30 2005
+++ b/scripts/kernel-doc Thu Mar 3 11:43:30 2005
@@ -1673,7 +1673,7 @@

$state = 2;
if (/-(.*)/) {
- $declaration_purpose = $1;
+ $declaration_purpose = xml_escape($1);
} else {
$declaration_purpose = "";
}