| ▲ | Dylan16807 5 hours ago | ||||||||||||||||||||||||||||||||||||||||
I don't see how I differed from what you said? You divided strings going into HTML into two categories, where one category uses textContent and the other category uses innerHTML. My point is to disagree with those categories, not whatever subtle thing you're taking issue with. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | cxr 5 hours ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
Oh, okay. Tell me, dipshit, are the follow two claims equivalent or different?: "Everyone who files a tax return should know whether they need to pay at least $1000 in unpaid taxes to the IRS." "Everyone who files a tax return needs to pay at least $1000 in unpaid taxes to the IRS." > You divided strings going into HTML into two categories, where one category uses textContent and the other category uses innerHTML. No, I didn't: > setting elementNode.textContent is safe for untrusted inputs, and setting elementNode.innerHTML is unsafe for untrusted inputs That's what I wrote: a statement containing two claims (both true—and not even in the part of my comment that you actually quoted and pretended to be replying to). | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||