JSFiddle - React, Tailwind, and code Playground

by Amol Tate

JavaScript

var text= $('<textarea />').html("&lt;p&gt;This is a test&lt;/p&gt").text();
alert(text);