X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhtml-url.c;h=fcf1e812e9ce97450ea128fd4423b4c5c2424529;hp=2a162bd7e4a346df9445fa9c8ceeff44173bb850;hb=1b49b075984702c5a75301ea937f831417e6f34f;hpb=917ec9f02d6cef42a0db920222594c4e4295f35b diff --git a/src/html-url.c b/src/html-url.c index 2a162bd7..fcf1e812 100644 --- a/src/html-url.c +++ b/src/html-url.c @@ -481,6 +481,10 @@ tag_handle_link (int tagid, struct taginfo *tag, struct map_context *ctx) && (0 == strcasecmp (rel, "stylesheet") || 0 == strcasecmp (rel, "shortcut icon"))) up->link_inline_p = 1; + else + /* The external ones usually point to HTML pages, such as + */ + up->link_expect_html = 1; } } }