Add profile bio markdown option

This commit is contained in:
KMY 2023-07-07 08:45:01 +09:00
parent fc87e18044
commit ebb0dec334
6 changed files with 18 additions and 3 deletions

View file

@ -54,7 +54,7 @@ module FormattingHelper
end
def account_bio_format(account)
html_aware_format(account.note, account.local?, markdown: true)
html_aware_format(account.note, account.local?, markdown: account.user&.setting_bio_markdown)
end
def account_field_value_format(field, with_rel_me: true)