From bc5fd29bafbcbc63804bc2db00aa763801783715 Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 9 Jan 2001 18:28:24 -0800 Subject: [PATCH] [svn] 2001-01-09 Dan Harkless * html-url.c: Addition and clarification of comments related to -p. * url.c (write_backup_file): Clarified a comment. [Committed this fix separately.] --- src/ChangeLog | 6 ++++++ src/html-url.c | 11 ++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7be75e9d..736a18ff 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2001-01-09 Dan Harkless + + * html-url.c: Addition and clarification of comments related to -p. + + * url.c (write_backup_file): Clarified a comment. + 2001-01-06 Dan Harkless * ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be diff --git a/src/html-url.c b/src/html-url.c index 5d37cf0a..8edf16a6 100644 --- a/src/html-url.c +++ b/src/html-url.c @@ -92,9 +92,14 @@ static struct { { "th", TC_LINK } }; + /* Flags for specific url-attr pairs handled through TC_LINK: */ + +/* This tag points to an external document not necessary for rendering this + document (i.e. it's not an inlined image, stylesheet, etc.). */ #define AF_EXTERNAL 1 + /* For tags handled by TC_LINK: attributes that contain URLs to download. */ static struct { @@ -392,8 +397,8 @@ collect_tags_mapper (struct taginfo *tag, void *arg) if (closure->dash_p_leaf_HTML && (url_tag_attr_map[i].flags & AF_EXTERNAL)) /* If we're at a -p leaf node, we don't want to retrieve - links to references we know are external, such as . */ + links to references we know are external to this document, + such as . */ continue; /* This find_attr() buried in a loop may seem inefficient @@ -437,7 +442,7 @@ collect_tags_mapper (struct taginfo *tag, void *arg) and we're at a leaf node (relative to the -l max. depth) in the HTML document tree, the only tag we'll follow is a , as it's necessary for displaying + "stylesheet">, as it'll be necessary for displaying this document properly. We won't follow other tags, like , for instance, as they refer to external documents. */ -- 2.39.2