mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: handle missing post body in json in Ning importer
This commit is contained in:
@ -270,6 +270,7 @@ class ImportScripts::Ning < ImportScripts::Base
|
||||
end
|
||||
|
||||
def process_ning_post_body(arg)
|
||||
return "" if arg.nil?
|
||||
raw = arg.gsub("</p>\n", "</p>")
|
||||
|
||||
# youtube iframe
|
||||
|
Reference in New Issue
Block a user