From 90130014dd27a909fda8a63d3ce520d4d31fd68c Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 29 Jul 2019 23:09:51 -0500 Subject: add plain-text console formatting option --- app/services/import_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services') diff --git a/app/services/import_service.rb b/app/services/import_service.rb index 248178e8c..c4bc7d74c 100644 --- a/app/services/import_service.rb +++ b/app/services/import_service.rb @@ -7,7 +7,7 @@ class ImportService < BaseService include JsonLdHelper ROWS_PROCESSING_LIMIT = 20_000 - CONTENT_TYPES = %w(text/bbcode+markdown text/markdown text/bbcode text/html text/plain).freeze + CONTENT_TYPES = %w(text/bbcode+markdown text/markdown text/bbcode text/html text/plain text/console).freeze VISIBILITIES = [:public, :unlisted, :private, :direct, :limited].freeze IMPORT_STATUS_ATTRIBUTES = [ 'id', -- cgit