mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
escaping the subject isn't needed in the mbox importer
This commit is contained in:
parent
3cd73cdf18
commit
6c829c24d7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue