mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 18:10:58 +00:00
Fix missing fallback link in CW-only quote posts
This commit is contained in:
parent
366856f3bc
commit
d1230e5786
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user