FIX: import scripts: bbcode_to_md should not be escaping html in post.raw

This commit is contained in:
Neil Lalonde 2014-07-23 15:15:51 -04:00
parent 06512685ab
commit 8cb4442527
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ class ImportScripts::Base
opts[:custom_fields]['import_id'] = import_id
if @bbcode_to_md
opts[:raw] = opts[:raw].bbcode_to_md rescue opts[:raw]
opts[:raw] = opts[:raw].bbcode_to_md(false) rescue opts[:raw]
end
post_creator = PostCreator.new(user, opts)