From 5e9d51c24b176bfb38a9fc6a4e7212f43503693f Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 16 Jun 2018 18:47:19 +0200 Subject: 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(-) (limited to 'app/serializers') diff --git a/app/serializers/rest/account_serializer.rb b/app/serializers/rest/account_serializer.rb index 6adcd7039..3a724aa7c 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 -- cgit