From fd1778203dace01c549c8726fb21b326d24cce17 Mon Sep 17 00:00:00 2001 From: Anatol Broder Date: Thu, 8 May 2014 07:24:04 +0200 Subject: [PATCH] Make it fail --- lib/jekyll/filters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/filters.rb b/lib/jekyll/filters.rb index 50cfea48..0478eeff 100644 --- a/lib/jekyll/filters.rb +++ b/lib/jekyll/filters.rb @@ -252,7 +252,7 @@ module Jekyll end def hash_property(hash, property) - return item_property(hash, property) + return hash[property] if hash.respond_to?('[]'.freeze) hash[property] elsif hash.respond_to?(property)