<text> in svg doesn't display
I copied an SVG that has text in it to toddle (as text not as a path ) , but the text doesn 't display . Anyone know why ? I figured out a workaround , overlaying another HTML text container , but just curious about best practice using SVGs with <text > < /text > fields . Claude generated the SVG for me : <svg xmlns = " http://www.w3.org/2000/svg " viewBox = "0 0 100 40 " > <rect width = "100 " height = "40 " rx = "20 " fill = " #F4EEE8 " / > <text x = "50 " y = "27 " font -size = "24 " fill = " #3A3238 " text -anchor = "middle " font -weight = "bold " >test text ! < /text > < /svg > ✅1

.jpeg/public)