From 02676572dd3455414cf10a2c586932adf7b0f539 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sat, 28 Jun 2014 16:51:19 -0400 Subject: [PATCH] Allow dots in collection labels. --- lib/jekyll/collection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/collection.rb b/lib/jekyll/collection.rb index 03474582..97371ac6 100644 --- a/lib/jekyll/collection.rb +++ b/lib/jekyll/collection.rb @@ -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.