16 lines
254 B
Ruby
16 lines
254 B
Ruby
|
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
|