about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-29 23:09:51 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-29 23:09:51 -0500
commit90130014dd27a909fda8a63d3ce520d4d31fd68c (patch)
tree567a2ce75e2102e810a98ece02ca83257e460911 /app/services
parent0fb1e7888e8f2f83c8f1d6b19a44b6c079251a2e (diff)
add plain-text console formatting option
Diffstat (limited to 'app/services')
-rw-r--r--app/services/import_service.rb2
1 files changed, 1 insertions, 1 deletions
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',