LukeCarrier / mkdocs-drawio-exporter

Exports your Draw.io diagrams at build time for easier embedding into your documentation
https://pypi.org/project/mkdocs-drawio-exporter/
MIT License
81 stars 9 forks source link

Can't parse filenames with spaces #28

Closed aufbakanleitung closed 6 months ago

aufbakanleitung commented 2 years ago

My project contains .drawio filenames like _"WRK_183016 Integration Design SIT ServiceMesh.drawio" but the exporter throws an error that it can't find the files. If I then change the filenames to _"Integration_Design_SITServiceMesh.drawio" it does work. And also _"WRK_183016%20Integration%20Design%20SIT%20ServiceMesh.drawio" doesn't parse. So I think it doesn't parse spaces.

LukeCarrier commented 6 months ago

Looks like the URI in the generated Markdown has been escaped, so we'll need to unescape it when generating the filename of the source diagram. Will have this fixed shortly.