aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2012-09-06 11:36:30 -0500
committerBrandon Mathis <brandon@imathis.com>2012-09-06 11:36:30 -0500
commit17c1c915095e6579b8c21fd568f725ae3dc4edc5 (patch)
tree420f9bfad0fbee77c3a396834af95be71eaf4a03 /plugins
parentea88b0fc9893776d757602fae66c3593d5edafd8 (diff)
parent89701e1a5a558c1253de2ee4c0ab1e6582c3191e (diff)
downloadmy_new_personal_website-17c1c915095e6579b8c21fd568f725ae3dc4edc5.tar.xz
my_new_personal_website-17c1c915095e6579b8c21fd568f725ae3dc4edc5.zip
Merge branch 'master' of github.com:imathis/octopress
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