Use the correct Unicode character in MarkAsDeletedWithName
This commit is contained in:
parent
6b400b4f96
commit
d52315287d
2 changed files with 7 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ module MarkAsDeletedWithName
|
|||
# (would have been nice to use retry, but there is no general duplicate-entry exception)
|
||||
n = ''
|
||||
begin
|
||||
append = ' \u2020' + n
|
||||
append = " \u2020" + n
|
||||
deleted_name = name.truncate(max_length-append.length, omission: '') + append
|
||||
if n.blank?
|
||||
n = 'A'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue