Fix compound names in historico
This commit is contained in:
parent
f2ee8aa6e8
commit
3b1069df72
@ -70,7 +70,7 @@ class Handler
|
|||||||
# Remove diacritics, turn lowercase
|
# Remove diacritics, turn lowercase
|
||||||
normalized = s.unicode_normalize(:nfkd).chars
|
normalized = s.unicode_normalize(:nfkd).chars
|
||||||
normalized.reject! { |character|
|
normalized.reject! { |character|
|
||||||
!character.ascii_letter?
|
!character.ascii?
|
||||||
}.join("").downcase
|
}.join("").downcase
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user