Merge pull request #706 from Confusion/patch-1

Fix for issue #622
This commit is contained in:
Brandon Mathis 2012-08-09 15:29:40 -07:00
commit 89701e1a5a

View File

@ -24,12 +24,12 @@ module Jekyll
class ContentFilters < PostFilter class ContentFilters < PostFilter
include OctopressFilters include OctopressFilters
def pre_render(post) def pre_render(post)
if post.ext.match('html|textile|markdown|haml|slim|xml') if post.ext.match('html|textile|markdown|md|haml|slim|xml')
post.content = pre_filter(post.content) post.content = pre_filter(post.content)
end end
end end
def post_render(post) def post_render(post)
if post.ext.match('html|textile|markdown|haml|slim|xml') if post.ext.match('html|textile|markdown|md|haml|slim|xml')
post.content = post_filter(post.content) post.content = post_filter(post.content)
end end
end end