Skip to content

Commit

Permalink
Added HAML filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan van der Gaag authored and Arjan van der Gaag committed May 10, 2012
1 parent fc97b11 commit 0015c60
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/haml/filters/typogruby.rb
@@ -0,0 +1,12 @@
module Haml
module Filters
module Typogruby
include Haml::Filters::Base
lazy_require 'typogruby'

def render(text)
::Typogruby.improve(text)
end
end
end
end

0 comments on commit 0015c60

Please sign in to comment.