Merge branch 'bug/parsetagx-crash'
This commit is contained in:
@@ -221,6 +221,7 @@ parse_tag(char **s, int internal)
|
|||||||
int j, hidden=FALSE;
|
int j, hidden=FALSE;
|
||||||
for (j=0; j<i; j++) {
|
for (j=0; j<i; j++) {
|
||||||
if (tag->attrid[j] == ATTR_TYPE &&
|
if (tag->attrid[j] == ATTR_TYPE &&
|
||||||
|
tag->value[j] &&
|
||||||
strcmp("hidden",tag->value[j]) == 0) {
|
strcmp("hidden",tag->value[j]) == 0) {
|
||||||
hidden=TRUE;
|
hidden=TRUE;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user