Fix for <link href="...">
Hrvoje Niksic <[email protected]> Fri, 27 May 2005 15:51:02 +0200
| Newsgroups | gmane.comp.web.wget.patches |
|---|---|
| Message-ID | <[email protected]> |
<link href="..."> should be marked to expect HTML. This patch is based on input from Andreas Beckmann in Debian Bug#310416. 2005-05-27 Andreas Beckmann <[email protected]> * html-url.c (tag_handle_link): Mark the content from the <link src="..."> tag as expecting HTML. Index: src/html-url.c =================================================================== RCS file: /pack/anoncvs/wget/src/html-url.c,v retrieving revision 1.43 diff -u -r1.43 html-url.c --- src/html-url.c 2005/05/08 09:58:38 1.43 +++ src/html-url.c 2005/05/27 13:48:12 @@ -481,6 +481,9 @@ && (0 == strcasecmp (rel, "stylesheet") || 0 == strcasecmp (rel, "shortcut icon"))) up->link_inline_p = 1; + else + /* <link rel="next" href="..."> */ + up->link_expect_html = 1; } } }