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

Fix #7820
This commit is contained in:
Eugen Rochko 2018-06-16 18:47:19 +02:00 committed by GitHub
parent 9c08a368e7
commit 5e9d51c24b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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