Reputation: 113
Not sure what I am doing wrong. I have a string which is a snippet of HTML. I am using the <%= %> erb tags to have it displayed. However, it does not render it as a HTML. It is stripping the tags and inserting characters
The source ERB snippet can be found here
The html tags seems to be stripped , but instead is replaces with comes out as "& lt span class=&# x27;" . The source can be seen here
Upvotes: 1
Views: 1516