From 2d89c472b0a67b10af963b12d8d81ea4588641aa Mon Sep 17 00:00:00 2001 From: Ovler Date: Sun, 30 Jun 2024 10:26:14 +0800 Subject: [PATCH] fix: Bad Request: can't parse entities: Character '-' is reserved and must be escaped with the preceding '\\' --- src/lib/bv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/bv.ts b/src/lib/bv.ts index b457e14..8980412 100644 --- a/src/lib/bv.ts +++ b/src/lib/bv.ts @@ -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() {