[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fix list_body
From: |
Hideki IWAMOTO |
Subject: |
[PATCH] fix list_body |
Date: |
Wed, 26 Mar 2003 01:50:16 +0900 |
"&<>" 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/&/&/g;
- $s =~ s/</</g;
- $s =~ s/>/>/g;
if ($'table_list) {
+ $line =~ s/&/&/g;
+ $line =~ s/</</g;
+ $line =~ s/>/>/g;
$line =~ s/ / /g;
$line =~ s/ / /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/&/&/g;
+ $s =~ s/</</g;
+ $s =~ s/>/>/g;
$s =~ s/^($name)/<A HREF=$srcdir\/$html#$lno>$1<\/A>/;
}
$s . "\n";
----
Hideki IWAMOTO address@hidden
- [PATCH] fix list_body,
Hideki IWAMOTO <=