
From: Martin Waitz <tali@admingilde.org>

Escape declaration_purpose

Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/scripts/kernel-doc |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN scripts/kernel-doc~docbook-escape-declaration_purpose scripts/kernel-doc
--- 25/scripts/kernel-doc~docbook-escape-declaration_purpose	Thu Mar  3 16:55:35 2005
+++ 25-akpm/scripts/kernel-doc	Thu Mar  3 16:55:35 2005
@@ -1673,7 +1673,7 @@ sub process_file($) {
 
 		$state = 2;
 		if (/-(.*)/) {
-		    $declaration_purpose = $1;
+		    $declaration_purpose = xml_escape($1);
 		} else {
 		    $declaration_purpose = "";
 		}
_
