grav-plugin-admin
grav-plugin-admin copied to clipboard
Image title should not be url-encoded
Hi! I believe, this issue must be here.
The problem is, when you edit a page and want to add an image from your HDD with unicode name, you get this .md code:
![%D0%A2%D0%B5%D1%81%D1%82](%D0%A2%D0%B5%D1%81%D1%82.jpg "%D0%A2%D0%B5%D1%81%D1%82")
That's wrong. The 1'st and the 3'rd params are actually img's Alt and Title (human-readable) and they should not be url-encoded. Like this:
![Тест](%D0%A2%D0%B5%D1%81%D1%82.jpg "Тест")