From 1b49b075984702c5a75301ea937f831417e6f34f Mon Sep 17 00:00:00 2001 From: hniksic Date: Fri, 27 May 2005 06:53:47 -0700 Subject: [PATCH] [svn] Mark the content from the tag as expecting HTML. Submitted by Andreas Beckmann. --- src/ChangeLog | 5 +++++ src/html-url.c | 4 ++++ 2 files changed, 9 insertions(+) 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; } } } -- 2.39.2