Skip to content

Commit

Permalink
Merge branch 'main' into keytar
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Nov 2, 2021
2 parents 7bc87d5 + f50212e commit a7275d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ export class MarkdownProcessor extends BaseProcessor {
return `${isImage}[${title}](${link})`;
}

return `${isImage}[${title}](${urljoin(prefix, path.normalize(link))})`;
return `${isImage}[${title}](${urljoin(prefix, path.posix.normalize(link))})`;
};

// Replace Markdown links with urls
Expand All @@ -702,7 +702,7 @@ export class MarkdownProcessor extends BaseProcessor {
return all;
}

return all.replace(link, urljoin(prefix, path.normalize(link)));
return all.replace(link, urljoin(prefix, path.posix.normalize(link)));
});

if ((this.gitHubIssueLinking && this.isGitHub) || (this.gitLabIssueLinking && this.isGitLab)) {
Expand Down

0 comments on commit a7275d4

Please sign in to comment.