From 96eb687524ed8821fe50fdf52f93c7c7651cd714 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 20 Nov 2025 11:08:36 +0100 Subject: [PATCH] Fix missing fallback link in CW-only quote posts (#36963) --- 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 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]