/programs/cmm/browser/TWB/TWB.c |
---|
115,7 → 115,7 |
is_html = true; |
if (!strstri(bufpointer, "<body")) { |
t_body = true; |
if (!strstri(bufpointer, "<html")) && (!strstri(bufpointer, "<head")) |
if (!strstri(bufpointer, "<html")) && (!strstri(bufpointer, "<head")) && (!strstri(bufpointer, "<title")) |
&& (!strstr(bufpointer, "<?xml")) && (!strstr(bufpointer, "<xml")) { |
style.pre = true; //show linebreaks for a plaint text |
is_html = false; |
/programs/cmm/browser/WebView.c |
---|
985,7 → 985,8 |
for (i = 0; i < WB1.img_url.count; i++) |
{ |
cur_img_url = WB1.img_url.get(i); |
if (debug_mode) {debug("get img: ");debugln(cur_img_url);} |
//if (debug_mode) |
{debug("get img: ");debugln(cur_img_url);} |
if (cache.has(cur_img_url)==false) { |
prbar.max = WB1.img_url.count; |
prbar.value = i; |