Describe the bug
When uploading an svg asset, it is not rendered on pages renderd using the visual editor
To Reproduce
Steps to reproduce the behavior:
Edit a page (using visual editor)
Insert an image
Upload an svg asset
The svg is not renderd in the preview
Save the page
The svg is not rendered in the page
Expected behavior
Properly render svg assets
Host Info (please complete the following information):
OS: Docker
Wiki.js version: 2.3.81
Database engine: aurora postgress
Additional context
It seems that the reason being that the svg is refernced in the page in an img tag which doesn't work.
We need to either inline the svg, or use:
Describe the bug When uploading an svg asset, it is not rendered on pages renderd using the visual editor
To Reproduce Steps to reproduce the behavior:
Expected behavior Properly render svg assets
Host Info (please complete the following information):
Additional context It seems that the reason being that the svg is refernced in the page in an img tag which doesn't work. We need to either inline the svg, or use: