I recall that Figma previously supported pasting SVG elements that were copied as raw code. I used to copy these elements from the inspect panel in a browser and paste them into Figma, where they would be rendered perfectly as vectors.
It appears that this feature is no longer available, which is disappointing as I found it very useful. Is there any possibility of bringing this feature back?
After removing the apostrophe in front of xmlns , the code worked perfectly. The next step for me is to find a way to ensure that the code is copied correctly in the first place, without these extra characters.