From a26e39dd474520e78bdb240eef91ab6d3cbbbbe7 Mon Sep 17 00:00:00 2001 From: YoheiZuho Date: Mon, 16 May 2022 13:20:02 +0900 Subject: [PATCH] test --- app/lib/text_formatter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/text_formatter.rb b/app/lib/text_formatter.rb index c822ca153..f3378d165 100644 --- a/app/lib/text_formatter.rb +++ b/app/lib/text_formatter.rb @@ -30,7 +30,7 @@ class TextFormatter @entities ||= Extractor.extract_entities_with_indices(text, extract_url_without_protocol: false) end - def to_s + def to_s(status, **options) return ''.html_safe if text.blank? & !status.quote? html = rewrite do |entity|