Skip to content

Commit

Permalink
Ignore codeql warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjain0512 committed Aug 12, 2024
1 parent d2bbe83 commit 9b42ffd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function addHtmlLabel(node) {
'<span class="' +
labelClass +
'" ' +
(node.labelStyle ? 'style="' + node.labelStyle + '"' : '') +
(node.labelStyle ? 'style="' + node.labelStyle + '"' : '') + // codeql [js/html-constructed-from-input] : false positive

Check warning

Code scanning / CodeQL

Unsafe HTML constructed from library input Medium

This HTML construction which depends on
library input
might later allow
cross-site scripting
.
This HTML construction which depends on
library input
might later allow
cross-site scripting
.
This HTML construction which depends on
library input
might later allow
cross-site scripting
.
'>' +
label +
'</span>'
Expand Down

0 comments on commit 9b42ffd

Please sign in to comment.