Skip to content

Commit

Permalink
fix: Bad Request: can't parse entities: Character '-' is reserved and…
Browse files Browse the repository at this point in the history
… must be escaped with the preceding '\\'
  • Loading branch information
Ovler-Young committed Jun 30, 2024
1 parent bd154f4 commit 2d89c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/bv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class Bvid {
}

toMarkdownArchiveLink(part: number = 1) {
return `[${this.toIdentifier(part)}](${this.getItemUrl(part)})`;
return `[${this.id}](${this.getItemUrl(part)})`;
}

toMarkdownBilibiliLink() {
Expand Down

0 comments on commit 2d89c47

Please sign in to comment.