Add imgSnapshotTest for escaped quotes

This commit is contained in:
Ibrahim Wassouf
2023-07-26 22:36:26 -03:00
parent 1df68f9a5f
commit 9eed2e278b

View File

@@ -901,4 +901,10 @@ graph TD
{ htmlLabels: true, flowchart: { htmlLabels: true }, securityLevel: 'loose' } { htmlLabels: true, flowchart: { htmlLabels: true }, securityLevel: 'loose' }
); );
}); });
it('67: allow escaping quotes with backslash', () => {
imgSnapshotTest(`
graph TD
a_node("This has an escaped \\" in it") -- "edge string can escape too \\"" --> b_node
`);
});
}); });