I've installed the following plugins into my up to date wiki
draw.io
svgembed
I've added this text
svg image/svg+xml
to the /conf/mime.conf
and
/conf/mime.local.conf
files as instructed in teh Dokuwiki pages on enabling use of SVG
When I create a svg with draw.io and click save I see the svg image in my page and checking the page source I can see its SVG in the HTML
When I reload the page it changes from the image to just raw text of the image name.
user:m:my_name:diagram1.svg
I can click this and it will allow me to edit the SVG again in draw io, which will display fine when I click save but as soon as I reload the page it turns back into just the text name of the image.
As part of trying to work out the bug I also tried to add an SVG file to the media manager, uploading cc.svg
but it just gives me
Upload denied. This file extension is forbidden!
I'm on PHP7.4 on Centos 7
I can't see what else I need to do to enable SVG, enable SVG upload into media manager and show SVGs on my page
Any pointers appreciated.