Can I convert a string to HTML in javascript?
let description = "<a className="peoplelink" id="ether">Ether</a> // is render as 'the historian of the'";
let html= // I know that it is easy to do with jquery by using .html() method, but can we convert a string to HTML in javascript?
let foo = '<img src="..." />';<a className="peoplelink" id="ether">Ether</a> is the historian of the <a className="peoplelink" id="jaredites">Jaredites</a>.I am react js developer and I want to change string to html without used jquery.