Update app/models/user/named.rb
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -20,6 +20,6 @@ module User::Named
|
||||
def familiar_name
|
||||
names = name.split
|
||||
return name if names.length <= 1
|
||||
"#{names.first} #{names[1..].map { |n| "#{n[0]}." }.join}".html_safe
|
||||
"#{names.first}\u00A0#{names[1..].map { |n| "#{n[0]}." }.join}"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user