From def573149d420f715b0070f35ee14c5dc0a458d4 Mon Sep 17 00:00:00 2001 From: purocean Date: Sat, 14 Sep 2024 23:04:49 +0800 Subject: [PATCH] fix: correct rendering issue with PlantUML diagrams --- src/renderer/plugins/markdown-link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/plugins/markdown-link.ts b/src/renderer/plugins/markdown-link.ts index 405842cb..7535f900 100644 --- a/src/renderer/plugins/markdown-link.ts +++ b/src/renderer/plugins/markdown-link.ts @@ -199,7 +199,7 @@ function convertLink (state: StateCore) { return } - if (/^[a-z+]+:/.test(attrVal)) { // xxx: + if (/^[a-zA-Z+_-]+:/.test(attrVal)) { // xxx: return }