Skip to content

Commit b581859

Browse files
committed
Merge pull request #223 from cef62/fix-windows-paths
Force forward slashes on SUMMARY.md path for articles
2 parents 603ac8b + 2e22fae commit b581859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse/summary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function parseTitle(src, nums) {
8282
level: level,
8383

8484
// Replace .md references with .html
85-
path: matches[2],
85+
path: matches[2].replace(/\\/g, '/'),
8686
};
8787
}
8888

0 commit comments

Comments
 (0)