mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-22 09:46:42 +02:00
Add imgSnapshotTest for escaped quotes
This commit is contained in:
@@ -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
|
||||||
|
`);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user