// XSS 🧨$div.innerHTML = `<em>hello world</em><img src="" onerror=alert(0)>`// Sanitized ⛑$div.innerHTML = `<em>hello world</em><img src="">`
具体提案在: Sanitizer API