Merge branch 'mermaid-js-develop' into develop

This commit is contained in:
chris moran
2020-07-27 03:23:04 -04:00
22 changed files with 944 additions and 65 deletions

View File

@@ -8,4 +8,14 @@ describe('Sequencediagram', () => {
.find('svg')
.should('have.length', 1);
});
it('should handle html escapings properly', () => {
const url = 'http://localhost:9000/webpackUsage.html?test-html-escaping=true';
cy.visit(url);
cy.get('body')
.find('svg')
.should('have.length', 1);
cy.get('.label > g > foreignobject > div').should('not.contain.text', '<b>');
});
});