From 6e15b1372ce17a8dfa8063c6d0745c7a1e6b2d44 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 a274f5afe..7535f900a 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-zA-Z+]+:/.test(attrVal)) { // xxx: + if (/^[a-zA-Z+_-]+:/.test(attrVal)) { // xxx: return }