Skip to content

Commit 31975be

Browse files
adjogimaCopilot
andauthored
Update app/models/user/named.rb
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7a6c905 commit 31975be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/user/named.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ def initials
2020
def familiar_name
2121
names = name.split
2222
return name if names.length <= 1
23-
"#{names.first}&nbsp;#{names[1..].map { |n| "#{n[0]}." }.join}".html_safe
23+
"#{names.first}\u00A0#{names[1..].map { |n| "#{n[0]}." }.join}"
2424
end
2525
end

0 commit comments

Comments
 (0)