Hi,
I found a bug in <img alt=""> handling. If alt="" is not suppressed,
the line containing the img element is not wrapped. I have verified
that the bug exists in w3m 0.1.6; the bug seems to still exist in
w3m 0.1.7, but I have not finished compiling it.
The following small patch fixes it:
--- file.c.dist Fri Jan 21 02:18:57 2000
+++ file.c Fri Feb 18 00:44:06 2000
@@ -1609,7 +1609,7 @@
}
if (!ignore_null_img_alt) {
/* XXX */
- Strcat_charp(tmp,"</img_alt>");
+ Strcat_charp(tmp,"</img_alt></nobr>");
goto img_end;
}
for (q = p; *q; q++);
-- Ambrose Li <ai337@freenet.toronto.on.ca> http://trends.ca/~acli/"A good style should show no sign of effort; what is written should seem a happy accident." -- Somerset Maugham.
This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT