mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: import scripts: bbcode_to_md should not be escaping html in post.raw
This commit is contained in:
parent
06512685ab
commit
8cb4442527
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue