#2425 Added new test case

This commit is contained in:
Ashish Jain 2021-10-21 19:45:15 +02:00
parent 24d18eb42a
commit 250c9beff9
1 changed files with 10 additions and 0 deletions

View File

@ -611,6 +611,16 @@ flowchart RL
);
});
it('76: handle unicode encoded character with HTML labels true', () => {
imgSnapshotTest(
`flowchart TB
a{{"Lorem 'ipsum' dolor 'sit' amet, 'consectetur' adipiscing 'elit'."}}
--> b{{"Lorem #quot;ipsum#quot; dolor #quot;sit#quot; amet,#quot;consectetur#quot; adipiscing #quot;elit#quot;."}}
`,
{htmlLabels: true, flowchart: {htmlLabels: true}, securityLevel: 'loose'}
);
});
it('2050: handling of different rendering direction in subgraphs', () => {
imgSnapshotTest(
`