docbook: fix escaping of kernel-doc
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 docbook: fix escaping of kernel-doc
hoi :)
the following patch fixes a bug I introduced with the last patches of the DocBook generation.
---
Please apply.
... and I really have to redo my bitkeeper repository as it is full of merge artifacts as BK did not note the fact that the patches were applied using normal patches.
I guess I have to use one complete tree per patch and recreate the public repo as a combination of the individual ones. Alternatives?
scripts/kernel-doc +5 -5
@@ -1626,11 +1655,11 @@ # replace <, >, and & sub xml_escape($) { - shift; - s/\&/\\\\\\amp;/g; - s/\</\\\\\\lt;/g; - s/\>/\\\\\\gt;/g; - return $_; + my $text = shift; + $text =~ s/\&/\\\\\\amp;/g; + $text =~ s/\</\\\\\\lt;/g; + $text =~ s/\>/\\\\\\gt;/g; + return $text; } sub process_file($) {
Signature · 1 line
Martin Waitz
Quoted 4 lines · Martin Waitz
... and I really have to redo my bitkeeper repository as it is full of merge artifacts as BK did not note the fact that the patches were applied using normal patches.
Normally bk would handle that, but I have an irritating habit of stripping off all the trailing whitespace which people keep trying to add to the kernel.
Quoted 3 lines
I guess I have to use one complete tree per patch and recreate the public repo as a combination of the individual ones. Alternatives?
Export all the csets as unified diffs, reapply them.