On Sun, 15 Feb 2004, John wrote:
Hi, I was presently surprised to see slashdot readable again. Oddly enough, some other websites are not rendering properly anymore.
Here is an example: http://damnsmalllinux.org/0.7.3_vs_0.8.png
dillo treats buggy html now differently... .dillo/dillorc:use_old_parser=YES should give old behavior. but i have a patch to eat the cake and have it also... ;) this gives a bit more forgiving html error threatment (for old parser mode), that seams to work fine in most cases: diff -pru dillo-0.8.0/src/html.c dillo08-mzz/src/html.c --- dillo-0.8.0/src/html.c 2004-02-07 01:10:45.000000000 +0200 +++ dillo08-mzz/src/html.c 2004-02-10 01:19:10.000000000 +0200 @@ -1169,7 +1176,8 @@ static void Html_tag_cond_cleanup(DilloH while (stack_idx && (cmp = strcmp(Html_tags_get_name(html->CurrTagIdx), html->stack[stack_idx].tag)) && - (old_mode || + ((old_mode && + !Html_match_tag(html->stack[stack_idx].tag, "table>", 6)) || Html_tags_get_endtag(html->stack[stack_idx].tag_idx) == 'O')){ --stack_idx; } (this is part of http://zone.ee/myzz/dillo/0.8.0/dillo-0.8.0-mzz.html)