JSFiddle - React, Tailwind, and code Playground
by gbkim1988
HTML
<div id="log">Test passed</div>
JavaScript
$("#log").html(
$("element[attribute='<div><strong>you should not see this</strong></div>']").html()
);
by gbkim1988
<div id="log">Test passed</div>
$("#log").html(
$("element[attribute='<div><strong>you should not see this</strong></div>']").html()
);