From ab1c526e397631dbf4834e616975233d95fe5009 Mon Sep 17 00:00:00 2001 From: "sebastian.diers" Date: Mon, 16 Aug 2021 18:46:32 +0200 Subject: [PATCH] fix: link-parser --- src/Parser/Extension/LinkParser.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Parser/Extension/LinkParser.php b/src/Parser/Extension/LinkParser.php index 7b1eca3..20f3041 100644 --- a/src/Parser/Extension/LinkParser.php +++ b/src/Parser/Extension/LinkParser.php @@ -33,7 +33,6 @@ public function parseBlock(HTML5 $html5, DOMDocument $document, object $block, s $image->setAttribute('src', $block->data->meta->image->url); $imageContainer->appendChild($image); $innerContainer->appendChild($imageContainer); - $innerContainer->setAttribute('class', "{$prefix}-link-container-with-img"); } if ($hasTitle) {