Error loading imbricated files when using relative paths
adazmy opened this issue · 2 comments
adazmy commented
When loading a file that is inside a directory using a relative path, and that file also loads another file with relative path, the resolving of the later is done based on the first load instuction.
File: /root/index.html
<load src="part.html"/>
File: /root/dir/part.html
<load src="file.html"/>
File: /root/dir/file.html
<h1>Title</h1>
Error trying to load /root/file.html
Paths resolve correctly if root based paths are used.
donnikitos commented
Gotcha, thanks for the submission of the bug!
adazmy commented
Good luck and thanks for this awsome plugin! 💯