Merge pull request #2823 from creative-commoners/pulls/5/broken-builds

MNT Broken builds
This commit is contained in:
Maxime Rainville 2023-01-20 14:53:28 +13:00 committed by GitHub
commit 2b0374e692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2106,8 +2106,8 @@ class SiteTreeTest extends SapphireTest
'Multiple attributes are removed'
],
[
'<link rel="canonical" href="valid" ;;// somethingdodgy < onmouseover=alert(1)',
'<link rel="canonical" href="valid" somethingdodgy="">',
'<link rel="canonical" href="valid" ;;// somethingdodgy <onmouseover=alert(1)>',
'<link rel="canonical" href="valid" somethingdodgy=""><onmouseover></onmouseover>',
'Invalid HTML is converted to valid HTML and parsed'
],
];