Fix note text

This commit is contained in:
yari-dewalt 2024-09-18 13:20:47 -07:00
parent 25337dc453
commit 31546b08ff

View File

@ -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,