Skip to content

Commit

Permalink
fix: correct rendering issue with PlantUML diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Sep 14, 2024
1 parent cbeb2f0 commit 6e15b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/plugins/markdown-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function convertLink (state: StateCore) {
return
}

if (/^[a-zA-Z+]+:/.test(attrVal)) { // xxx:
if (/^[a-zA-Z+_-]+:/.test(attrVal)) { // xxx:
return
}

Expand Down

0 comments on commit 6e15b13

Please sign in to comment.