aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/octopress_filters.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/octopress_filters.rb b/plugins/octopress_filters.rb
index 92e2fe5f..9c7fa6c5 100644
--- a/plugins/octopress_filters.rb
+++ b/plugins/octopress_filters.rb
@@ -17,9 +17,10 @@ module OctopressFilters
end
def self.post_filter(page)
if page.ext.match('html|textile|markdown|md|haml|slim|xml')
- input = TemplateWrapper::unwrap(page.content)
- page.content = RubyPants.new(input).to_html
+ page.output = TemplateWrapper::unwrap(page.output)
end
+
+ page.output = RubyPants.new(page.output).to_html
end
class PageFilters < Octopress::Hooks::Page