diff --git a/app/lib/text_formatter.rb b/app/lib/text_formatter.rb index 963cc0d1c4..10f007ff37 100644 --- a/app/lib/text_formatter.rb +++ b/app/lib/text_formatter.rb @@ -31,7 +31,7 @@ class TextFormatter end def to_s - return ''.html_safe if text.blank? + return add_quote_fallback('').html_safe if text.blank? # rubocop:disable Rails/OutputSafety html = rewrite do |entity| if entity[:url]