-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Milestone
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
Screenshots
Metadata
Metadata
Assignees
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.