Allow dots in collection labels.
This commit is contained in:
parent
404661fc72
commit
02676572dd
|
@ -105,7 +105,7 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns a sanitized version of the label.
|
# Returns a sanitized version of the label.
|
||||||
def sanitize_label(label)
|
def sanitize_label(label)
|
||||||
label.gsub(/[^a-z0-9_\-]/i, '')
|
label.gsub(/[^a-z0-9_\-\.]/i, '')
|
||||||
end
|
end
|
||||||
|
|
||||||
# Produce a representation of this Collection for use in Liquid.
|
# Produce a representation of this Collection for use in Liquid.
|
||||||
|
|
Loading…
Reference in New Issue