Skip to content

Commit

Permalink
Merge pull request #2823 from creative-commoners/pulls/5/broken-builds
Browse files Browse the repository at this point in the history
MNT Broken builds
  • Loading branch information
Maxime Rainville authored Jan 20, 2023
2 parents 9bb6f70 + f362d8b commit 2b0374e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/php/Model/SiteTreeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2106,8 +2106,8 @@ public function provideSanitiseExtraMeta(): array
'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'
],
];
Expand Down

0 comments on commit 2b0374e

Please sign in to comment.