diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 08:55:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 08:55:47 +0000 |
commit | cd10ccf4d1b4671883a0d45f6769947a6cdb45d0 (patch) | |
tree | b14481899a2c6c4dd53beed82f0f61c6f77254d1 /src/html-url.c | |
parent | Adding upstream version 1.21.4. (diff) | |
download | wget-upstream/1.24.5.tar.xz wget-upstream/1.24.5.zip |
Adding upstream version 1.24.5.upstream/1.24.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/html-url.c')
-rw-r--r-- | src/html-url.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/html-url.c b/src/html-url.c index 896d6fc..a4ba115 100644 --- a/src/html-url.c +++ b/src/html-url.c @@ -1,5 +1,5 @@ /* Collect URLs from HTML source. - Copyright (C) 1998-2012, 2015, 2018-2023 Free Software Foundation, + Copyright (C) 1998-2012, 2015, 2018-2024 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -105,7 +105,7 @@ static struct known_tag { { TAG_FORM, "form", tag_handle_form }, { TAG_FRAME, "frame", tag_find_urls }, { TAG_IFRAME, "iframe", tag_find_urls }, - { TAG_IMG, "img", tag_handle_img }, + { TAG_IMG, "img", tag_handle_img }, // tag_find_urls() plus handling "srcset" { TAG_INPUT, "input", tag_find_urls }, { TAG_LAYER, "layer", tag_find_urls }, { TAG_LINK, "link", tag_handle_link }, @@ -118,7 +118,7 @@ static struct known_tag { { TAG_TH, "th", tag_find_urls }, { TAG_VIDEO, "video", tag_find_urls }, { TAG_AUDIO, "audio", tag_find_urls }, - { TAG_SOURCE, "source", tag_find_urls } + { TAG_SOURCE, "source", tag_handle_img } // tag_find_urls() plus handling "srcset" }; /* tag_url_attributes documents which attributes of which tags contain @@ -170,7 +170,7 @@ static struct { { TAG_VIDEO, "poster", ATTR_INLINE }, { TAG_AUDIO, "src", ATTR_INLINE }, { TAG_AUDIO, "poster", ATTR_INLINE }, - { TAG_SOURCE, "src", ATTR_INLINE } + { TAG_SOURCE, "src", ATTR_INLINE }, }; /* The lists of interesting tags and attributes are built dynamically, |