You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the regular expression in isAbsolutePath function only considers the cases ofhttp://or https://, but does not take into account URLs that start with /, so the bug happen
Hi @poerlang , thx for your report!
We already raised this issue in #1891, we still discuss on how to refactor its behavior and keep the things work more as expectation.
Bug Report
Steps to reproduce
add a md file in a sub1 dir
/docs/sub1/test.md
add a img.png in
/docs/images
add a imgLink in sub1/test.md:

Current behaviour
docsify render the image url to :
/./sub1/images/img.png
Expected behaviour
docsify should render the image url to :
/images/img.png
Please create a reproducible sandbox
reproducible sandbox
The text was updated successfully, but these errors were encountered: