mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Fix note text
This commit is contained in:
parent
25337dc453
commit
31546b08ff
@ -574,7 +574,7 @@ export const getData = () => {
|
||||
cnt++;
|
||||
const noteNode: Node = {
|
||||
id: note.id,
|
||||
label: note.text.replaceAll('\\n', '<br>'), // 'rect' shape label sanitizes these newlines so must change to <br> manually
|
||||
label: note.text,
|
||||
isGroup: false,
|
||||
shape: 'rect',
|
||||
padding: config.class!.padding ?? 6,
|
||||
|
Loading…
x
Reference in New Issue
Block a user