Skip to content

Commit

Permalink
fix: avoid panic when relative path in markdown links point outside r…
Browse files Browse the repository at this point in the history
…oot path (#803)
  • Loading branch information
sanyuan0704 authored Mar 18, 2024
1 parent 4ebdf1a commit 943b2eb
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 29 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-ants-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rspress/core": patch
---

fix: avoid panic when relative path in markdown links point outside the root path
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@rspress/plugin-medium-zoom": "workspace:*",
"@rspress/plugin-last-updated": "workspace:*",
"@rspress/plugin-auto-nav-sidebar": "workspace:*",
"@rspress/mdx-rs": "0.5.0",
"@rspress/mdx-rs": "0.5.1",
"@rspress/plugin-container-syntax": "workspace:*",
"@rspress/shared": "workspace:*",
"body-scroll-lock": "4.0.0-beta.0",
Expand Down
56 changes: 28 additions & 28 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 943b2eb

Please sign in to comment.