elixir - How to render raw html in Phoenix framework -


i trying render raw html ->

<%= raw "<noscript>\n <div style=\"width: 302px; height: 422px;\">\n </div>\n </noscript> \n\n\n" %> 

but when use edit html in chrome code see following ->

<noscript>   &lt;div style="width: 302px; height: 422px;"&gt; &lt;/div&gt;     </noscript> 

which not want. missing here? why content inside noscript being escaped? what's right way render string html ?

this isn't phoenix issue. how chrome handles when edit html. can see same thing in action @ http://jsfiddle.net/h6crtf2m

<noscript><div></div></noscript> 

Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -