Sha256: c3e6eea1d35be46b19ae30aa1e5eb3fd26651e426cbe5d597d0482768b55677c

Contents?: true

Size: 229 Bytes

Versions: 16

Compression:

Stored size: 229 Bytes

Contents

module Locomotive
  module Liquid
    module Filters
      module Text

        def textile(input)
          ::RedCloth.new(input).to_html
        end

      end

      ::Liquid::Template.register_filter(Text)

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
locomotive_cms-2.0.0.rc2 lib/locomotive/liquid/filters/text.rb
locomotive_cms-2.0.0.rc1 lib/locomotive/liquid/filters/text.rb
locomotive_cms-1.0.0.beta.2 lib/locomotive/liquid/filters/text.rb
locomotive_cms-1.0.0.beta lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta12 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta11 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta10 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta9 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta8 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta7 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta5 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta4 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta3 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta2 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4.beta1 lib/locomotive/liquid/filters/text.rb
locomotive_cms-0.0.4 lib/locomotive/liquid/filters/text.rb