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:
parent
2361917944
commit
3411fbef19
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue