[PATCH 16/16] [DocBook] escape declaration_purpose

From: Martin Waitz
Date: Thu Mar 03 2005 - 05:49:56 EST


[DocBook] escape declaration_purpose
Signed-off-by: Martin Waitz <tali@xxxxxxxxxxxxxx>


# 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 tali@xxxxxxxxxxxxxx 1.2041
# [DocBook] escape declaration_purpose
#
# Signed-off-by: Martin Waitz <tali@xxxxxxxxxxxxxx>
# --------------------------------------------
#
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 = "";
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/