bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix list_body


From: Shigio Yamaguchi
Subject: Re: [PATCH] fix list_body
Date: Wed, 26 Mar 2003 14:58:23 +0900

Committed your fix.
Thank you.

> "&<>" is not converted when table tag is used.
> 
> Index: htags/htags.in
> ===================================================================
> RCS file: /cvsroot/global/global/htags/htags.in,v
> retrieving revision 1.108
> diff -u -r1.108 htags.in
> --- htags/htags.in    21 Mar 2003 16:16:26 -0000      1.108
> +++ htags/htags.in    25 Mar 2003 16:37:23 -0000
> @@ -517,15 +517,18 @@
>       local($name, $lno, $filename, $line) = ($s =~ /^(\S+)\s+(\d+)\s+\.\/(\S
+) (.*)$/);
>       local($html) = &'path2url($filename);
>  
> -     $s =~ s/\.\///;
> -     $s =~ s/&/&amp;/g;
> -     $s =~ s/</&lt;/g;
> -     $s =~ s/>/&gt;/g;
>       if ($'table_list) {
> +             $line =~ s/&/&amp;/g;
> +             $line =~ s/</&lt;/g;
> +             $line =~ s/>/&gt;/g;
>               $line =~ s/ /&nbsp;&nbsp;/g;
>               $line =~ s/     /&nbsp;&nbsp;&nbsp;&nbsp;/g;
>               $s = "<TR><TD NOWRAP><A HREF=$srcdir\/$html#$lno>$name</A></TD>
<TD NOWRAP ALIGN=right>$lno</TD><TD NOWRAP ALIGN=left>$filename
> </TD><TD NOWRAP>$line</TD></TR>";
>       } else {
> +             $s =~ s/\.\///;
> +             $s =~ s/&/&amp;/g;
> +             $s =~ s/</&lt;/g;
> +             $s =~ s/>/&gt;/g;
>               $s =~ s/^($name)/<A HREF=$srcdir\/$html#$lno>$1<\/A>/;
>       }
>       $s . "\n";
> 
> ----
> Hideki IWAMOTO  address@hidden
> 
> 
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-global
> 
> 
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]