fix: replace old-style <br> tags to fix Mermaid rendering issues (#13792)
This commit is contained in:
3
web/app/components/base/mermaid/utils.ts
Normal file
3
web/app/components/base/mermaid/utils.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function cleanUpSvgCode(svgCode: string): string {
|
||||
return svgCode.replaceAll('<br>', '<br/>')
|
||||
}
|
Reference in New Issue
Block a user