Closed
Description
Feature Description
Gitea's SVG files do not have the xmlns
attribute. Without it, these SVG images couldn't be display correctly.
- Browsers (Safari/Chrome/Firefox) only display the XML content, but no the image
- VSCode shows 0 x 0 broken images
- macOS Finder show blank page
Then developers couldn't browse these images, they couldn't know what the images look like before rendering them as inline SVG in a page.
So it's better to keep/add the xmlns
attribute for the generated SVG files.
https://stackoverflow.com/questions/18467982/are-svg-parameters-such-as-xmlns-and-version-needed
cc @silverwind