aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2012-08-09 15:29:40 -0700
committerBrandon Mathis <brandon@imathis.com>2012-08-09 15:29:40 -0700
commit89701e1a5a558c1253de2ee4c0ab1e6582c3191e (patch)
tree22353bb6186cc38083224e908a3ffa45c52c46bf
parenta96c0c6257fdbbbf6a11a9c93e523888fc897e00 (diff)
parent6029981e35eef840207bfcab423a8056e648ae3f (diff)
downloadmy_new_personal_website-89701e1a5a558c1253de2ee4c0ab1e6582c3191e.tar.xz
my_new_personal_website-89701e1a5a558c1253de2ee4c0ab1e6582c3191e.zip
Merge pull request #706 from Confusion/patch-1
Fix for issue #622
Diffstat (limited to '')
-rw-r--r--plugins/octopress_filters.rb4
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