I've seen the light, I'm converting my site over to RedCloth to use the wonderful textile markup.
Problem is, I have a couple years worth of html content in my database that is not textile markup. How do I convert that into textile? Is there a non-manual way?
If no, when outputting content, should I check for html, if present then don't use RedCloth?
example:
// not sure of best way to check if a string has html
if (@content.description has html)
<%= @content.description.html_safe %>
else
<%= RedCloth.new(@content.description).to_html %>
end
What is the ruby way on this? Help a newb! :-)