| @@ -223,9 +223,9 @@ | ||
| 223 | 223 | const thumbs = document.querySelectorAll('.photonic-stream a, a.photonic-level-2-thumb'); |
| 224 | 224 | thumbs.forEach((thumb) => { |
| 225 | 225 | if (!thumb.parentNode.classList.contains('photonic-header-title')) { |
| 226 | 226 | const title = thumb.getAttribute('title'); |
| 227 | - // Not doing a Util.getText, which uses innerHTML, which is susceptible to XSS | |
| 227 | + // Not doing innerHTML, which is susceptible to XSS | |
| 228 | 228 | thumb.setAttribute('title', Util.getText(title)); |
| 229 | 229 | const dataTitle = thumb.getAttribute('data-title') |
| 230 | 230 | thumb.setAttribute('data-title', Util.HTMLSanitizer.SanitizeHTML(dataTitle)); |
| 231 | 231 | } |