Skip to content

Commit c06d68b

Browse files
committed
fix(manifest): do not output links with empty contents
1 parent b917883 commit c06d68b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AcornFavicons.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ protected function generateWindowsMetaTags(): array
214214
'content' => $this->getPublicPath('browserconfig.xml'),
215215
],
216216
];
217+
$attributes = array_filter($attributes, fn (array $att): bool => ! empty($att['content']));
217218

218219
return array_merge(
219220
$tags,

0 commit comments

Comments
 (0)