fix: replace old-style <br> tags to fix Mermaid rendering issues (#13792)

This commit is contained in:
Hao Cheng 2025-03-11 05:40:55 +01:00 • committed by GitHub
commit 49d0acd188
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,3 @@
export function cleanUpSvgCode(svgCode: string): string {
return svgCode.replaceAll('<br>', '<br/>')
}