0
0
Fork 0

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:
Eugen Rochko 2019-03-21 23:33:28 +01:00 committed by GitHub
parent 2361917944
commit 3411fbef19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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