From 908526455c44cf549a32a51c2f974894c0387036 Mon Sep 17 00:00:00 2001 From: Tom Preston-Werner Date: Thu, 24 Jun 2010 17:30:38 -0700 Subject: [PATCH] Ensure that RedCloth is loaded when textilize filter is used. Fixes #183. --- History.txt | 1 + lib/jekyll/filters.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/History.txt b/History.txt index cb9f237c..a4e2571e 100644 --- a/History.txt +++ b/History.txt @@ -1,6 +1,7 @@ == Edge * Bug Fixes * Fix Rakefile 'release' task (tag pushing was missing origin) + * Ensure that RedCloth is loaded when textilize filter is used (#183) == 0.6.1 * Bug Fixes diff --git a/lib/jekyll/filters.rb b/lib/jekyll/filters.rb index fd993d55..5bdebec8 100644 --- a/lib/jekyll/filters.rb +++ b/lib/jekyll/filters.rb @@ -2,7 +2,7 @@ module Jekyll module Filters def textilize(input) - RedCloth.new(input).to_html + TextileConverter.new.convert(input) end def date_to_string(date)