Fix compound names in historico
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user