forked from friendica/php-json-ld
Fix list term check.
This commit is contained in:
parent
084c9e4db1
commit
5299404f62
|
@ -3029,7 +3029,8 @@ class JsonLdProcessor {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// skip @list containers for non-@lists
|
// skip @list containers for non-@lists
|
||||||
if(!$is_list && $has_container && $entry->{'@container'} === '@list') {
|
if(!$is_list && $has_container && $entry->{'@container'} === '@list' &&
|
||||||
|
$value !== null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// for @lists, if list_container is set, skip non-list containers
|
// for @lists, if list_container is set, skip non-list containers
|
||||||
|
|
Loading…
Reference in a new issue