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:
parent
917ec9f02d
commit
1b49b07598
@ -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>
|
2005-05-24 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* http.c (http_atotm): Document the origin of the "cookie date"
|
* http.c (http_atotm): Document the origin of the "cookie date"
|
||||||
|
@ -481,6 +481,10 @@ tag_handle_link (int tagid, struct taginfo *tag, struct map_context *ctx)
|
|||||||
&& (0 == strcasecmp (rel, "stylesheet")
|
&& (0 == strcasecmp (rel, "stylesheet")
|
||||||
|| 0 == strcasecmp (rel, "shortcut icon")))
|
|| 0 == strcasecmp (rel, "shortcut icon")))
|
||||||
up->link_inline_p = 1;
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user