Sha256: d0e3aa454310e0bb42417818e8314bde439f99f5115d2dadbe7e7c991b693256
Contents?: true
Size: 150 Bytes
Versions: 71
Compression:
Stored size: 150 Bytes
Contents
class HamlFilter < TextFilter def filter(text) Haml::Engine.new(text).render.gsub(/<(\/)?r:(.+?)\s*(\/?\\?)>/m, '<\\1r:\\2\\3>') end end
Version data entries
71 entries across 71 versions & 1 rubygems