diff options
author | Ivo Wever <ivo.wever@gmail.com> | 2012-08-09 23:34:41 +0300 |
---|---|---|
committer | Ivo Wever <ivo.wever@gmail.com> | 2012-08-09 23:34:41 +0300 |
commit | 6029981e35eef840207bfcab423a8056e648ae3f (patch) | |
tree | 22353bb6186cc38083224e908a3ffa45c52c46bf | |
parent | a96c0c6257fdbbbf6a11a9c93e523888fc897e00 (diff) | |
download | my_new_personal_website-6029981e35eef840207bfcab423a8056e648ae3f.tar.xz my_new_personal_website-6029981e35eef840207bfcab423a8056e648ae3f.zip |
Fix for issue #622
The filters bundled with Octopress are not applied to files ending in
`.md`, because the match in octopress_filters.rb does not match `.md`.
-rw-r--r-- | plugins/octopress_filters.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/octopress_filters.rb b/plugins/octopress_filters.rb index 2ba93e9e..091f75aa 100644 --- a/plugins/octopress_filters.rb +++ b/plugins/octopress_filters.rb @@ -24,12 +24,12 @@ module Jekyll class ContentFilters < PostFilter include OctopressFilters 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) end end 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) end end |