FIX: import scripts: bbcode_to_md should not be escaping html in post.raw
This commit is contained in:
parent
06512685ab
commit
8cb4442527
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue