Fix for proper handling of block-diagram labels

This commit is contained in:
Knut Sveidqvist
2024-05-14 12:53:41 +02:00
parent 4f26f3ae2e
commit c7fe9a6465
3 changed files with 121 additions and 0 deletions

View File

@@ -137,4 +137,9 @@ describe('XSS', () => {
cy.wait(1000);
cy.get('#the-malware').should('not.exist');
});
it('should sanitize backticks block diagram labels properly', () => {
cy.visit('http://localhost:9000/xss25.html');
cy.wait(1000);
cy.get('#the-malware').should('not.exist');
});
});