Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

moved filter radius hags to be supported by layotus and snippets

  • Loading branch information...
commit e20f6dff8cecf59b71343165fe242432ba2e8f00 1 parent 62fd10a
Dirk Kelly authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  app/models/haml_filter.rb
2  app/models/haml_filter.rb
... ... @@ -1,5 +1,5 @@
1 1 class HamlFilter < TextFilter
2 2 def filter(text)
3   - Haml::Engine.new(text).render
  3 + Haml::Engine.new(text).render.gsub(/&lt;(\/)?r:(.+?)\s*(\/?\\?)&gt;/m,"<\\1r:\\2\\3>")
4 4 end
5 5 end

0 comments on commit e20f6df

Please sign in to comment.
Something went wrong with that request. Please try again.