Commit af942602 authored by Martin Waitz's avatar Martin Waitz Committed by Linus Torvalds

[PATCH] docbook: escape declaration_purpose

Escape declaration_purpose
Signed-off-by: default avatarMartin Waitz <tali@admingilde.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d32e0c13
...@@ -1673,7 +1673,7 @@ sub process_file($) { ...@@ -1673,7 +1673,7 @@ sub process_file($) {
$state = 2; $state = 2;
if (/-(.*)/) { if (/-(.*)/) {
$declaration_purpose = $1; $declaration_purpose = xml_escape($1);
} else { } else {
$declaration_purpose = ""; $declaration_purpose = "";
} }
......
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