Allow dots in collection labels.

This commit is contained in:
Parker Moore 2014-06-28 16:51:19 -04:00
parent 404661fc72
commit 02676572dd
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ module Jekyll
#
# Returns a sanitized version of the label.
def sanitize_label(label)
label.gsub(/[^a-z0-9_\-]/i, '')
label.gsub(/[^a-z0-9_\-\.]/i, '')
end
# Produce a representation of this Collection for use in Liquid.