Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dangerouslySetInnerHTML

function createMarkup() {
    return {
       __html: 'First · Second'    };
 }; 

<div dangerouslySetInnerHTML={createMarkup()} /> 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dangerouslySetInnerHTML
ADD COMMENT
Topic
Name
5+3 =