[w3m-dev-en 00045] Re: <li> rendering bug

From: hsaka@mth.biglobe.ne.jp
Date: Wed Jan 26 2000 - 21:11:30 CST


>> > To me "sp;" very much looks like half of "&nbsp;".
>> OK, I found where the bug is. Here's a patch.

I found another bug about FORMAT_NICE.

In file.c, from line 1327.
-------------------->
#ifdef FORMAT_NICE
  else if (obuf->flag & RB_FILL) {
    char *p;
    int rest,rrest;
    int nspace,d,i;

    Strremovetrailingspaces(line);
    rest = width - line->length;
<-------------------
Here, if this "line" has a entity(&lt; etc.), line->length
is not suitable. The function visible_length() in table.c may be
substitute (?).
-----------------------------------
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
 http://www2u.biglobe.ne.jp/~hsaka/



This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT