Empty tag <title></title> always present in icons from Simple Icons (not sure if there are other packs with same behaviour).
Even when setting the title attribute when using the icon, the empty <title>/<title> still exists.
Looks like some "default" children being set on icon
This causes a problem when I set a title on a parent element with the icon as a child, because the icon "steals" the title value and don't display the title from the parent, causing some unexpected behaviors
Expected behavior
Expect the empty <title> tag to not be present inside the <svg> when no title was provided
Describe the bug
Empty tag
<title></title>
always present in icons from Simple Icons (not sure if there are other packs with same behaviour). Even when setting thetitle
attribute when using the icon, the empty<title>/<title>
still exists.Looks like some "default" children being set on icon
This causes a problem when I set a
title
on a parent element with the icon as a child, because the icon "steals" thetitle
value and don't display thetitle
from the parent, causing some unexpected behaviorsExpected behavior
Expect the empty
<title>
tag to not be present inside the<svg>
when notitle
was providedMinimal sample repository URL
https://codesandbox.io/p/sandbox/peaceful-darkness-tnjj6r
Steps To Reproduce
Run the code and inpect the element from the icons
The
SiDatadog
ones will have a empty<title></title>
inside the<svg>
tag despite thetitle
attribute being set or notPackage version
4.12.0
Relevant log output
No response
Additional context
No response