Closed shaedrich closed 11 months ago
yes - I'm a big fan of using innerText instead of innerHTML - thanks for the PR @shaedrich
Phew! I was worried it was too little of a change 😅
textContent
might be even better 😉 (but I doubt, jQuery has that 🤔 )
To prevent XSS (even though, unlikely) and improve performance (even though, only slightly)