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> <div style="width: 302px; height: 422px;"> </div> </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
Post a Comment