diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-10-17 10:21:28 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-10-17 19:18:17 +0300 |
commit | 7a3e605350fd501661d2cd0fe72440bf0773f4b7 (patch) | |
tree | 39d10a87baf9e80082ede3ff414e6c9ed9fc5c1b /spec/javascripts/notebook | |
parent | 024c31fe79b0e4026c9bff0802424efe6e127a4c (diff) |
Resolve eslint violations
Diffstat (limited to 'spec/javascripts/notebook')
-rw-r--r-- | spec/javascripts/notebook/cells/output/html_sanitize_tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/notebook/cells/output/html_sanitize_tests.js b/spec/javascripts/notebook/cells/output/html_sanitize_tests.js index 844a1841c81..74c48f04367 100644 --- a/spec/javascripts/notebook/cells/output/html_sanitize_tests.js +++ b/spec/javascripts/notebook/cells/output/html_sanitize_tests.js @@ -50,7 +50,7 @@ export default { output: '<a>foo</a>', }, 'protocol-based JS injection: invalid URL char': { - input: '<img src=javascript:alert("XSS")>', // eslint-disable-line no-useless-escape + input: '<img src=javascript:alert("XSS")>', output: '<img>', }, 'protocol-based JS injection: Unicode': { |