What is the most reasonable approach?
- jQuery’s
.html()with previously encoded text - Query’s
.text() innerHTMLwith previously encoded textinnerText/textContentdocument.createTextNodeonce per elementdocument.createTextNodeonce per test run

What is the most reasonable approach?
.html() with previously encoded text.text()innerHTML with previously encoded textinnerText / textContentdocument.createTextNode once per elementdocument.createTextNode once per test run