Skip to content

Commit 530912e

Browse files
committed
fix: unexpected warning when using non-ASCII chars as filename.
1 parent 33db7b7 commit 530912e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/webpack/markdownLoader.js

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ module.exports = function (src) {
5757

5858
// check if relative links are valid
5959
links && links.forEach(link => {
60+
link = decodeURIComponent(link)
6061
const shortname = link
6162
.replace(/#.*$/, '')
6263
.replace(/\.html$/, '.md')

0 commit comments

Comments
 (0)