Browse Source

Merge branch 'master' of github.com:imathis/octopress

unreleased_contents
Brandon Mathis 12 years ago
parent
commit
17c1c91509
  1. 4
      plugins/octopress_filters.rb

4
plugins/octopress_filters.rb

@ -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

Loading…
Cancel
Save