diff --git a/script/bulk_import/base.rb b/script/bulk_import/base.rb index cf1be396370..02173313e23 100644 --- a/script/bulk_import/base.rb +++ b/script/bulk_import/base.rb @@ -482,7 +482,7 @@ class BulkImport::Base post[:raw] = (post[:raw] || "").scrub.strip.presence || "" post[:raw] = process_raw post[:raw] if @bbcode_to_md - post[:raw] = post[:raw].bbcode_to_md(false) rescue post[:raw] + post[:raw] = post[:raw].bbcode_to_md(false, {}, :disable, :quote) rescue post[:raw] end post[:like_count] ||= 0 post[:cooked] = pre_cook post[:raw] diff --git a/script/import_scripts/base.rb b/script/import_scripts/base.rb index 367236092f5..3ce3ef04526 100644 --- a/script/import_scripts/base.rb +++ b/script/import_scripts/base.rb @@ -559,7 +559,7 @@ class ImportScripts::Base opts[:guardian] = STAFF_GUARDIAN if @bbcode_to_md - opts[:raw] = opts[:raw].bbcode_to_md(false) rescue opts[:raw] + opts[:raw] = opts[:raw].bbcode_to_md(false, {}, :disable, :quote) rescue opts[:raw] end post_creator = PostCreator.new(user, opts)