]> sjero.net Git - wget/commitdiff
[svn] Mark the content from the <link src="..."> tag as expecting HTML.
authorhniksic <devnull@localhost>
Fri, 27 May 2005 13:53:47 +0000 (06:53 -0700)
committerhniksic <devnull@localhost>
Fri, 27 May 2005 13:53:47 +0000 (06:53 -0700)
Submitted by Andreas Beckmann.

src/ChangeLog
src/html-url.c

index c44111fade2ec407f646c62177733cf8ecd7339c..f0c1488b89e7e9b6c02588bf46896a317fad7a7d 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-27  Andreas Beckmann  <debian@abeckmann.de>
+
+       * html-url.c (tag_handle_link): Mark the content from the <link
+       src="..."> tag as expecting HTML.
+
 2005-05-24  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * http.c (http_atotm): Document the origin of the "cookie date"
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;
        }
     }
 }