mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
Minor code reordering.
This commit is contained in:
parent
279f2bec93
commit
37ec65247d
@ -517,16 +517,16 @@ skip_table(unsigned char *html, unsigned char *eof)
|
||||
html++;
|
||||
|
||||
if (html >= eof) return eof;
|
||||
|
||||
|
||||
if (!namelen) continue;
|
||||
|
||||
|
||||
if (*name == '/') {
|
||||
closing_tag = 1;
|
||||
name++; namelen--;
|
||||
if (!namelen) continue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!strlcasecmp(name, namelen, "TABLE", 5)) {
|
||||
if (!closing_tag) {
|
||||
level++;
|
||||
@ -597,11 +597,12 @@ see:
|
||||
}
|
||||
|
||||
if (!namelen) goto see;
|
||||
|
||||
|
||||
if (name[0] == '/') {
|
||||
name++; namelen--;
|
||||
namelen--;
|
||||
if (!namelen) goto see;
|
||||
closing_tag = 1;
|
||||
name++;
|
||||
closing_tag = 1;
|
||||
|
||||
} else {
|
||||
closing_tag = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user