fix friendly name

This commit is contained in:
Pete Matsyburka committed 2026-09-11 13:00:26 +03:00
1 parent bd03498b0f
commit 92b297a620
1 file changed
+1 -1
+1 -1
View File
@@ -90,7 +90,7 @@ class Submitter < ApplicationRecord
def friendly_name
if name.present? && email.present? && email.exclude?(',')
%("#{name.delete('"')}" <#{email}>)
%("#{name.delete('"').squish}" <#{email}>)
else
email
end