I'm trying to underline a text element in SVG using the text-decoration attribute, but I'm running into an issue with the color of the line not changing. Here is the code snippet I am working with:
<svg id="svg" viewBox="0 0 300 154">
<text x="150" y="79" style="font-size: 80px; font-family: Brush Script MT" id="10" fill="#e00000" text-decoration="underline solid #0fc224">text</text>
</svg>
Even though I have specified the desired color for the underline in the text-decoration attribute, it is still being inherited from the text (SVG) element. Any suggestions on how to fix this?