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

Commit adc8941

Browse files
committed
WIP: xx
1 parent eca5966 commit adc8941

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
@@ -244,7 +244,8 @@ describe('HTML', function() {
244244
it('should accept SVG tags', function() {
245245
expectHTML('<svg width="400px" height="150px" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red"></svg>')
246246
.toBeOneOf('<svg width="400px" height="150px" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red"></circle></svg>',
247-
'<svg xmlns="http://www.w3.org/2000/svg" height="150px" width="400px"><circle fill="red" stroke-width="3" stroke="black" r="40" cy="50" cx="50"></circle></svg>');
247+
'<svg xmlns="http://www.w3.org/2000/svg" height="150px" width="400px"><circle fill="red" stroke-width="3" stroke="black" r="40" cy="50" cx="50"></circle></svg>',
248+
'<svg width="400px" height="150px" xmlns="http://www.w3.org/2000/svg"><circle fill="red" stroke="black" stroke-width="3" cx="50" cy="50" r="40"></circle></svg>');
248249
});
249250

250251
it('should not ignore white-listed svg camelCased attributes', function() {

0 commit comments

Comments
 (0)