Skip to content

Commit 2837ca7

Browse files
committed
tweak XSS via hover label test
- the malicious <img onerror=""> tag is now gone!
1 parent 72a9915 commit 2837ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/hover_label_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ describe('hover info', function() {
248248

249249
assertHoverLabelContent({
250250
nums: '1\nhover text',
251-
name: '&lt;img src=x o...',
251+
name: '',
252252
axis: '0.388'
253253
});
254254
});

0 commit comments

Comments
 (0)