mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix condition for closed HTML tag.
This commit is contained in:
parent
f747e73445
commit
e9e09e1cc0
@ -1,3 +1,8 @@
|
||||
2010-05-31 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* html-parse.c (map_html_tags): Fix condition for closed tag. Handle
|
||||
the case '>' is not specified after '/'.
|
||||
|
||||
2010-05-31 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* sysdep.h (_SVID_SOURCE): Remove definition.
|
||||
|
@ -960,7 +960,7 @@ map_html_tags (const char *text, int size,
|
||||
/* ^ */
|
||||
ADVANCE (p);
|
||||
SKIP_WS (p);
|
||||
if (*p != '<' || *p != '>')
|
||||
if (*p != '<' && *p != '>')
|
||||
goto backout_tag;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user