escaping the subject isn't needed in the mbox importer

This commit is contained in:
Gerhard Schlager 2017-10-19 15:25:20 +02:00
parent 3cd73cdf18
commit 6c829c24d7
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ module ImportScripts::Mbox
def map_first_post(row)
mapped = map_post(row)
mapped[:category] = category_id_from_imported_category_id(row['category'])
mapped[:title] = CGI.escapeHTML(row['subject'].strip)[0...255]
mapped[:title] = row['subject'].strip[0...255]
mapped
end