Archived
2
0
Fork 0

4.1.3-gh23188

This commit is contained in:
Ducky 2023-07-07 16:24:49 +01:00
commit 5812b02c24
62 changed files with 860 additions and 216 deletions

View file

@ -58,6 +58,10 @@ module FormattingHelper
end
def account_field_value_format(field, with_rel_me: true)
html_aware_format(field.value, field.account.local?, with_rel_me: with_rel_me, with_domains: true, multiline: false)
if field.verified? && !field.account.local?
TextFormatter.shortened_link(field.value_for_verification)
else
html_aware_format(field.value, field.account.local?, with_rel_me: with_rel_me, with_domains: true, multiline: false)
end
end
end