Project

General

Profile

Defect #7039 » csv_issue_description_eol.patch

IssueHelper change - Etienne Massip, 2011-03-26 16:34

View differences:

app/helpers/issues_helper.rb (working copy)
282 282
                  format_time(issue.updated_on)
283 283
                  ]
284 284
        custom_fields.each {|f| fields << show_value(issue.custom_value_for(f)) }
285
        fields << issue.description
285
        fields << (issue.description ? issue.description.gsub("\r\n", "\n") : nil)
286 286
        csv << fields.collect {|c| begin; ic.iconv(c.to_s); rescue; c.to_s; end }
287 287
      end
288 288
    end
(2-2/7)