We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3bf52f commit ae029aeCopy full SHA for ae029ae
src/node/markdownToVue.ts
@@ -89,10 +89,12 @@ export function createMarkdownToVueRenderFn(
89
for (let url of data.links) {
90
url = url.replace(/[?#].*$/, '').replace(/\.(html|md)$/, '')
91
if (url.endsWith('/')) url += `index`
92
- const resolved = slash(
93
- url.startsWith('/')
94
- ? url.slice(1)
95
- : path.relative(srcDir, path.resolve(dir, url))
+ const resolved = decodeURIComponent(
+ slash(
+ url.startsWith('/')
+ ? url.slice(1)
96
+ : path.relative(srcDir, path.resolve(dir, url))
97
+ )
98
)
99
if (
100
!pages.includes(resolved) &&
0 commit comments