JSFiddle - React, Tailwind, and code Playground

JavaScript

var data = '<test>a&f"#</test>';
$('body').text(data);