5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 23:06:22 +00:00

eliminar puntos en las etiquetas y categorías

This commit is contained in:
f 2020-04-15 10:13:38 -03:00
parent 0312466db9
commit 0da93a0d87
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -16,7 +16,7 @@ class MetadataArray < MetadataTemplate
def sanitize(values)
values.map do |v|
if v.is_a? String
super(v)
super(v).sub(/\.\z/, '')
else
v
end