Improve config serializer for Keybase (#10338)
- Regex must no longer be surrounded by `/` - Description must be short and cannot contain HTML tags
This commit is contained in:
@ -18,7 +18,7 @@ class ManifestSerializer < ActiveModel::Serializer
|
||||
end
|
||||
|
||||
def description
|
||||
strip_tags(object.site_description.presence || I18n.t('about.about_mastodon_html'))
|
||||
strip_tags(object.site_short_description.presence || I18n.t('about.about_mastodon_html'))
|
||||
end
|
||||
|
||||
def icons
|
||||
|
Reference in New Issue
Block a user