Parsing a CSV file with HTML tags into a Rails database?
===

I have a CSV file that I'm trying to import into a Rails database. I've written a rake task to do the parsing for me.

    task :csv2, [:file] => :environment do |t, args|
      CSV.foreach(args[:file]) do |row|
        issue = {
          "element1" => row[0],
          "element2" => row[3]
        }

      Issue.create(issue)
    end

It works great, except for one problem. Sometimes, fields in the CSV have html tags and special characters (e.g. < p> and &QUOT ;). When I dump each column into the database, Rails just reads everything in as straight text. How do I get Rails to understand the HTML and adjust accordingly?

Or, if this is a better option, I'll dump the HTML into the database, and just use the View to understand the HTML?

Ruby 1.9.3, Rails 3.2.6, SQLite3 3.6.20.

Thanks in advance for the help!