Messages in this thread | | | Date | Sun, 6 Mar 2005 00:17:53 +0100 | From | Martin Waitz <> | Subject | Re: [PATCH 15/16] [DocBook] factor out escaping of XML special characters |
| |
hoi :)
well, this patch is broken :(
On Thu, Mar 03, 2005 at 11:43:17AM +0100, Martin Waitz wrote: > --- a/scripts/kernel-doc Thu Mar 3 11:43:21 2005 > +++ b/scripts/kernel-doc Thu Mar 3 11:43:21 2005 > @@ -1624,6 +1624,15 @@ > } > } > > +# replace <, >, and & > +sub xml_escape($) { > + shift;
this must be: $_ = shift;
> + s/\&/\\\\\\amp;/g; > + s/\</\\\\\\lt;/g; > + s/\>/\\\\\\gt;/g; > + return $_; > +} > + > sub process_file($) { > my ($file) = "$ENV{'SRCTREE'}@_"; > my $identifier;
this is also fixed in my BK repository. (I'll send mail with other updates to lkml later)
-- Martin Waitz [unhandled content-type:application/pgp-signature] | |