mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-26 16:34:08 +01:00
Merge branch 'mermaid-js-develop' into develop
This commit is contained in:
@@ -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>');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user