1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Mark the content from the <link src="..."> tag as expecting HTML.

Submitted by Andreas Beckmann.
This commit is contained in:
hniksic 2005-05-27 06:53:47 -07:00
parent 917ec9f02d
commit 1b49b07598
2 changed files with 9 additions and 0 deletions

View 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"

View 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;
}
}
}