Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

href with relative paths points to wrong folder #57

Open
jonatjano opened this issue Oct 15, 2018 · 1 comment
Open

href with relative paths points to wrong folder #57

jonatjano opened this issue Oct 15, 2018 · 1 comment

Comments

@jonatjano
Copy link

jonatjano commented Oct 15, 2018

When encontering a tag targetting an external file with a relative path the previewer try to load the wrong file

Example

if I have <use href="top.svg#top" x="0" y="0" /> in the file /home/me/project/both.svg
It tries to load file:///usr/share/atom/resources/app.asar/static/top.svg
instead of /home/me/project/top.svg

using full path works

@jonatjano
Copy link
Author

just tested on <image> It seems to do it with every href

@jonatjano jonatjano changed the title <use> tags doesn't work with relative paths href with relative paths points to wrong folder Oct 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant