From c108da80eed9fb4e1a7f48723669d31cec728811 Mon Sep 17 00:00:00 2001 From: robcolbert Date: Thu, 4 Jul 2019 03:17:36 -0400 Subject: [PATCH] strip post content --- app/lib/formatter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index ef5ff3b6..935b8814 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -11,6 +11,7 @@ class Formatter def format(status, **options) raw_content = status.text + raw_content = ActionController::Base.helpers.strip_tags(raw_content) if status.id <= 11063737261633602 # #TODO: Migration fix if status.reblog? status = status.proper