Advertise supported MIME types for statuses (#2090)

This commit is contained in:
Vyr Cossont authored and GitHub committed 2023-01-20 13:57:32 +01:00
1 parent 26c2b401a5
commit c4a5e0ca0e
3 files changed
+4

No files matched your search

+2
View File
@@ -1,6 +1,8 @@
# frozen_string_literal: true
class HtmlAwareFormatter
STATUS_MIME_TYPES = %w(text/plain text/markdown text/html).freeze
attr_reader :text, :local, :options
alias local? local