Stop using a phony base URI and create one from the current filename, with various fallbacks in case the file isn't saved yet or URI encoding fails.
Closes #500 You can view, comment on, or merge this pull request online at: https://github.com/geany/geany-plugins/pull/501 -- Commit Summary -- * Markdown: Fix relative paths -- File Changes -- M markdown/src/viewer.c (31) -- Patch Links -- https://github.com/geany/geany-plugins/pull/501.patch https://github.com/geany/geany-plugins/pull/501.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/501
