Closed
Description
- Gitea version (or commit ref): 1.14.0+dev-825-g5b94a07ab
- Can you reproduce the bug at https://try.gitea.io:
Description
Gitea supports showing SVGs as image and not as text, but apparently that only applies when viewing the file in the file view (example).
When opening a new PR, a SVG will still only be displayed as text in the preview and later on in the existing PR.
Expected behavior
Wherever in a repo a SVG image gets encountered, it should be displayed initially as image, not as text, but with the ability to convert it to raw text.