From ef2cc01cd812027f58b6b416598f8264bf10855a Mon Sep 17 00:00:00 2001 From: robcolbert Date: Wed, 3 Jul 2019 20:07:57 -0400 Subject: [PATCH] strip tags from content --- app/serializers/rest/status_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/rest/status_serializer.rb b/app/serializers/rest/status_serializer.rb index c9b76cb1..cf526f33 100644 --- a/app/serializers/rest/status_serializer.rb +++ b/app/serializers/rest/status_serializer.rb @@ -62,7 +62,7 @@ class REST::StatusSerializer < ActiveModel::Serializer end def content - Formatter.instance.format(object) + Formatter.instance.format(object).strip end def url