Liquid error: uninitialized constant Jekyll::Filters::RedCloth #183

Closed
beausmith opened this Issue Jun 24, 2010 · 1 comment

2 participants

@beausmith

When using the textile filter in a template (to modify YAML Front Matter) like this:

{{ post.summary | textilize }}

I get the following error:

Liquid error: uninitialized constant Jekyll::Filters::RedCloth

Requiring RedCloth in lib/jekyll/filters.rb caused the error no more.

    def textilize(input)
+    require 'RedCloth'
      RedCloth.new(input).to_html
    end

When pushing code to github pages repo, this error doesn't exist.

@mojombo

Ensure that RedCloth is loaded when textilize filter is used. Closed by b9cea8a521606db1df604785a426f41bd82ef08b.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment