Skip to content

Commit 1aad1bb

Browse files
committed
1 parent bd4e971 commit 1aad1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/component/MarkdownReader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const MarkdownReader = {
7171
showdown.extension('other-page-links-replacer', () => {
7272
return [{
7373
type: "html",
74-
regex: /<a href="\.?\/?(docs\/)?(.*?)\.md\#?(.*?)">/g,
74+
regex: /<a href="(?!https?\:)\.?\/?(docs\/)?(.*?)\.md\#?(.*?)">/g,
7575
replace: "<a href='#/$2/$3'>"
7676
}];
7777
});

0 commit comments

Comments
 (0)