From 0134ecab814da523775f83f7da769bf9cd0e0122 Mon Sep 17 00:00:00 2001 From: NiclasNorin Date: Tue, 10 Oct 2023 10:02:55 +0200 Subject: [PATCH] Fix: adding nosnippet to parent --- source/php/Component/Icon/Icon.php | 1 + 1 file changed, 1 insertion(+) diff --git a/source/php/Component/Icon/Icon.php b/source/php/Component/Icon/Icon.php index 41bac861..fd098053 100644 --- a/source/php/Component/Icon/Icon.php +++ b/source/php/Component/Icon/Icon.php @@ -51,6 +51,7 @@ public function init() $this->data['attributeList']['role'] = "img"; $this->data['attributeList']['aria-label'] = $this->getAltText($icon); $this->data['attributeList']['alt'] = $this->getAltText($icon); + $this->data['attributeList']['data-nosnippet'] = ""; } private function iconIsSvg($icon)