From: hniksic Date: Fri, 27 May 2005 13:53:47 +0000 (-0700) Subject: [svn] Mark the content from the tag as expecting HTML. X-Git-Tag: v1.13~1011 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=1b49b075984702c5a75301ea937f831417e6f34f [svn] Mark the content from the tag as expecting HTML. Submitted by Andreas Beckmann. --- diff --git a/src/ChangeLog b/src/ChangeLog index c44111fa..f0c1488b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-05-27 Andreas Beckmann + + * html-url.c (tag_handle_link): Mark the content from the tag as expecting HTML. + 2005-05-24 Hrvoje Niksic * http.c (http_atotm): Document the origin of the "cookie date" 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; } } }