1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/lib/hamlit/compilers/preserve.rb
2015-03-28 17:43:56 +09:00

10 lines
199 B
Ruby

module Hamlit
module Compilers
module Preserve
def on_haml_preserve(code)
code = "Hamlit::Helpers.find_and_preserve(#{code})"
[:dynamic, code]
end
end
end
end