Advertise supported MIME types for statuses (#2090)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user