I'm trying to gather some information from a database, Currently a user fills out a form and the textbox fills in html format accordingly.
The issue is when its passed to the database its saved down as this
<p>How would this work?</p><p><br/></p><p>I need to know, IF the HTML formatting is here</p><p><br/></p><h1>unfortunatly it may stick</h1><h4>Although it might not,</h4><p>Only time will tell, If the <b>Font </b><i>Stays </i><u>or </u><strike>not</strike></p>
The issue i have is when i call it do be placed back into the page it displays as the same, Rather than keeping the format.
I'm using Rails to call the DB so heres my little code to call the DB
<% @events.each do |ev| %>
<%= ev.details %>
<% end %>