I am trying to render raw html like this ->
<%= raw "<noscript>\n <div style=\"width: 302px; height: 422px;\">\n </div>\n </noscript> \n\n\n" %>
but when I use Edit as Html
in Chrome to get the code I see the following ->
<noscript>
<div style="width: 302px; height: 422px;"> </div>
</noscript>
which is obviously not what I want. What am I missing here? Why the content inside the noscript
is being escaped? What's the right way to render this string as html ?