Rendering html response from API
Apply styles on <p> and <li> tag const apiResponse = { description: '<p>fgsdgsdgsdgsd</p><ol style="list-style-type: lower-greek;"><li>hgdj</li><li>fdjkhsdkjgh</li><li>fgvf</li></ol>', }; const renderHTML = (htmlString) => { return...
Jan 15, 20243 min read11