Temporarily disable that?

This commit is contained in:
Andrew Pietila 2023-09-29 14:25:21 -05:00
parent 3da020fed5
commit 9fef3c3b12

View file

@ -17,15 +17,15 @@ module FormattingHelper
def status_content_format(status)
base = html_aware_format(status.text, status.local?, preloaded_accounts: [status.account] + (status.respond_to?(:active_mentions) ? status.active_mentions.map(&:account) : []), content_type: status.content_type)
if status.quote? && status.local?
after_html = begin
"<span class=\"quote-inline\"><a href=\"#{status.quote.to_log_permalink}\" class=\"status-link unhandled-link\" target=\"_blank\">#{status.quote.to_log_permalink}</a></span>"
end.html_safe # rubocop:disable Rails/OutputSafety
base + after_html
else
# if status.quote? && status.local?
# after_html = begin
# "<span class=\"quote-inline\"><a href=\"#{status.quote.to_log_permalink}\" class=\"status-link unhandled-link\" target=\"_blank\">#{status.quote.to_log_permalink}</a></span>"
# end.html_safe # rubocop:disable Rails/OutputSafety
#
# base + after_html
# else
base
end
# end
end
def rss_status_content_format(status)