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|