Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: base path for relative path in markdown #170

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

liuycy
Copy link
Contributor

@liuycy liuycy commented May 6, 2024

fix AlistGo/alist#6419

改动如下

  • Markdown 预览组件 解析 相对路径 时 加上 base_path
  • 新增 pathResolve 工具函数,将类似 ./a ../a a/../b 的路径转成绝对路径

@xhofe xhofe merged commit 787ab3e into AlistGo:main May 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

游客无法显示文件夹说明中的本地图片
2 participants