diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-10-10 14:49:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 14:49:41 +0300 |
commit | 24e3ca2474a51f996e9166c065da80b068e8e599 (patch) | |
tree | d8df7df43bb1b7094e4d9d21ebbf2eae6688e769 | |
parent | c44d64ed71bd74d322c6023f1cd5a167de126d4f (diff) |
tooltip.js: ignore a LGTM error (#35147)
The code on this line is either sanitized or the user chose to not sanitize it.
-rw-r--r-- | js/src/tooltip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 423a192c09..7a8986548f 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -421,7 +421,7 @@ class Tooltip extends BaseComponent { content = sanitizeHtml(content, this._config.allowList, this._config.sanitizeFn) } - element.innerHTML = content + element.innerHTML = content // lgtm [js/xss-through-dom] } else { element.textContent = content } |