forked from mirrors/mastodon
Temporarily disable that?
This commit is contained in:
parent
3da020fed5
commit
9fef3c3b12
1 changed files with 8 additions and 8 deletions
|
@ -17,15 +17,15 @@ module FormattingHelper
|
||||||
def status_content_format(status)
|
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)
|
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?
|
# if status.quote? && status.local?
|
||||||
after_html = begin
|
# 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>"
|
# "<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
|
# end.html_safe # rubocop:disable Rails/OutputSafety
|
||||||
|
#
|
||||||
base + after_html
|
# base + after_html
|
||||||
else
|
# else
|
||||||
base
|
base
|
||||||
end
|
# end
|
||||||
end
|
end
|
||||||
|
|
||||||
def rss_status_content_format(status)
|
def rss_status_content_format(status)
|
||||||
|
|
Loading…
Add table
Reference in a new issue