<!-- Please don't delete this template or we'll close your issue --> <!-- Please use English language --> <!-- Before creating an issue please make sure you are using the latest version of Docsify. --> <!-- Please ask questions on StackOverflow: https://stackoverflow.com/questions/ask?tags=docsify --> ## Bug Report When `relativePath: true`, absolute paths are for icons in sidebar are resolved as relative. #### Steps to reproduce Set `relativePath: true` ``` └── docs ├── _sidebar.md ├── guide.md └── subfolder ├── _sidebar.md ├── guide.md ``` In the both _sidebar files, I have `- [Home](/ "Home")` #### What is current behaviour While the link gets resolved as absolute (👍 ), for images, the data-origin is correct (👍 ), but the img scr is _relative_ and thus failing (👎 ) ```html <a href="#/" title="Home"><img src="/subfolder/assets/home.svg" data-origin="/assets/home.svg" alt="">Home</a> ``` #### What is the expected behaviour The img src should be absolute: "/assets/home.svg" #### Other relevant information <!-- (Update "[ ]" to "[x]" to check a box) --> - [ ] Bug does still occur when all/other plugins are disabled? - Your OS: - Node.js version: - npm/yarn version: - Browser version: - Docsify version: 4.9.4 - Docsify plugins: pagination, themeable <!-- Love docsify? Please consider supporting our collective: 👉 https://opencollective.com/docsify/donate -->