Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 2917dbf

Browse files
committed
WIP: more fixes
1 parent 6355f4f commit 2917dbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/ngSanitize/sanitizeSpec.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ describe('HTML', function() {
258258

259259
expectHTML('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><a xlink:href="https://example.com"></a></svg>')
260260
.toBeOneOf('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><a xlink:href="https://example.com"></a></svg>',
261-
'<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"><a xlink:href="https://example.com"></a></svg>');
261+
'<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"><a xlink:href="https://example.com"></a></svg>',
262+
'<svg xmlns="http://www.w3.org/2000/svg"><a xlink:href="https://example.com" xmlns:xlink="http://www.w3.org/1999/xlink"></a></svg>');
262263
});
263264

264265
it('should sanitize unknown namespaced SVG attributes', function() {

0 commit comments

Comments
 (0)