Closed michaelstivala closed 5 years ago
When a webpage contains more than one <script type="javascript/json+ld"></script> block, only the first one is parsed.
<script type="javascript/json+ld"></script>
This seems to be due to the break; (line 121) in the Jkphl\Micrometa\Infrastructure\Parser\JsonLD::parseDom method.
break;
Jkphl\Micrometa\Infrastructure\Parser\JsonLD::parseDom
Removing that line seems to fix the issue.
Apologies - this issue is clearly about the wrong repo!
When a webpage contains more than one
<script type="javascript/json+ld"></script>
block, only the first one is parsed.This seems to be due to the
break;
(line 121) in theJkphl\Micrometa\Infrastructure\Parser\JsonLD::parseDom
method.Removing that line seems to fix the issue.