]> sjero.net Git - wget/blobdiff - src/html-url.c
[svn] Mark the content from the <link src="..."> tag as expecting HTML.
[wget] / src / html-url.c
index 2a162bd7e4a346df9445fa9c8ceeff44173bb850..fcf1e812e9ce97450ea128fd4423b4c5c2424529 100644 (file)
@@ -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
+              <link rel="next" href="..."> */
+           up->link_expect_html = 1;
        }
     }
 }