Update mention_html formatter again.

This commit is contained in:
Fosco Marotto 2021-02-03 13:26:32 -05:00
parent 8d9db14121
commit b705c82304

View File

@ -481,7 +481,7 @@ class Formatter
end end
def mention_html(account) def mention_html(account)
return "<span>@#{encode(account.acct)}</span>" unless account.local? # return "<span>@#{encode(account.acct)}</span>" unless account.local?
"<a data-focusable=\"true\" role=\"link\" href=\"#{encode(TagManager.instance.url_for(account))}\" class=\"u-url mention\">@#{encode(account.acct)}</a>" "<a data-focusable=\"true\" role=\"link\" href=\"#{encode(TagManager.instance.url_for(account))}\" class=\"u-url mention\">@#{encode(account.acct)}</a>"
end end