Skip to content

Commit e04cb95

Browse files
authored
ignore application/ld+json javascripts
1 parent b67bc1e commit e04cb95

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Model/Controller/ResultPlugin.php

+5
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ public function aroundRenderResult(
117117
continue;
118118
}
119119

120+
if (false !== stripos($script, 'application/ld+json')) {
121+
$start++;
122+
continue;
123+
}
124+
120125
foreach ($ignoredStrings as $ignoredString) {
121126
if (false !== stripos($script, $ignoredString)) {
122127
$start++;

0 commit comments

Comments
 (0)