From 9bcd509165e3d2972efbea6d99aba3955dd1c07b Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 16 Jun 2018 18:47:19 +0200 Subject: [PATCH] Do not pre-emojify note HTML in accounts REST API (#7821) Fix #7820 --- app/serializers/rest/account_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/rest/account_serializer.rb b/app/serializers/rest/account_serializer.rb index 6adcd70390..3a724aa7c2 100644 --- a/app/serializers/rest/account_serializer.rb +++ b/app/serializers/rest/account_serializer.rb @@ -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