diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:17 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:17 +0900 |
commit | 6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20 (patch) | |
tree | 4936775a0caecb157d619aa6c8f26310c2611c7e /src/convert.c | |
parent | 0fd98397eab07f1ec3b1fad9890fd751298e1fe0 (diff) | |
download | wget-6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20.tar.gz wget-6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20.tar.bz2 wget-6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20.zip |
Imported Upstream version 1.18upstream/1.18
Diffstat (limited to 'src/convert.c')
-rw-r--r-- | src/convert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/convert.c b/src/convert.c index df8d58d..509923e 100644 --- a/src/convert.c +++ b/src/convert.c @@ -308,7 +308,7 @@ convert_links (const char *file, struct urlpos *links) char *quoted_newname = local_quote_string (newname, link->link_css_p); - if (link->link_css_p) + if (link->link_css_p || link->link_noquote_html_p) p = replace_plain (p, link->size, fp, quoted_newname); else if (!link->link_refresh_p) p = replace_attr (p, link->size, fp, quoted_newname); @@ -329,7 +329,7 @@ convert_links (const char *file, struct urlpos *links) char *newname = convert_basename (p, link); char *quoted_newname = local_quote_string (newname, link->link_css_p); - if (link->link_css_p) + if (link->link_css_p || link->link_noquote_html_p) p = replace_plain (p, link->size, fp, quoted_newname); else if (!link->link_refresh_p) p = replace_attr (p, link->size, fp, quoted_newname); @@ -352,7 +352,7 @@ convert_links (const char *file, struct urlpos *links) char *newlink = link->url->url; char *quoted_newlink = html_quote_string (newlink); - if (link->link_css_p) + if (link->link_css_p || link->link_noquote_html_p) p = replace_plain (p, link->size, fp, newlink); else if (!link->link_refresh_p) p = replace_attr (p, link->size, fp, quoted_newlink); |