diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index d62c8e51..f75c6186 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -67,8 +67,7 @@ module Jekyll end def populate_tags - self.tags = self.data.pluralized_array("tag", "tags") - self.tags.flatten! + self.tags = self.data.pluralized_array("tag", "tags").flatten end # Get the full path to the directory containing the post files