We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88163cb commit 08ce6a9Copy full SHA for 08ce6a9
src/Svg/Tag/UseTag.php
@@ -85,7 +85,7 @@ public function handle($attributes)
85
}
86
87
$mergedAttributes = $this->reference->attributes;
88
- $attributesToNotMerge = ['x', 'y', 'width', 'height'];
+ $attributesToNotMerge = ['x', 'y', 'width', 'height', 'href', 'xlink:href', 'id'];
89
foreach ($attributes as $attrKey => $attrVal) {
90
if (!in_array($attrKey, $attributesToNotMerge) && !isset($mergedAttributes[$attrKey])) {
91
$mergedAttributes[$attrKey] = $attrVal;
0 commit comments