[Dillo-dev]rendering 0.7.3 vs. 0.8
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 The Dillo on top is 0.8 while the one on the bottom is 0.7.3. Regards, John
Hi, On Sun, Feb 15, 2004 at 09:16:48PM -0800, John wrote:
I was presently surprised to see slashdot readable again. Oddly enough, some other websites are not rendering properly anymore.
A very quick answer can be found here :-) : http://article.gmane.org/gmane.comp.web.dillo.devel/1434/ Cheers, Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198
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)
participants (3)
-
Andreas Schweitzer
-
John
-
Madis Janson