Browse Source

Do not pre-emojify note HTML in accounts REST API (#7821)

Fix #7820
master
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
5e9d51c24b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/serializers/rest/account_serializer.rb

+ 1
- 1
app/serializers/rest/account_serializer.rb View File

@ -25,7 +25,7 @@ class REST::AccountSerializer < ActiveModel::Serializer
end
def note
Formatter.instance.simplified_format(object, custom_emojify: true)
Formatter.instance.simplified_format(object)
end
def url

Loading…
Cancel
Save