From ae7de2f8510d6d4b69120f168122e26d69dda256 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Mon, 11 Jan 2016 21:48:20 -0500 Subject: Remove the `:coffee` and `:coffeescript` Haml filters See https://git.io/vztMu and http://stackoverflow.com/a/17571242/223897 --- config/initializers/haml.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/initializers/haml.rb b/config/initializers/haml.rb index 7e8ddb3716b..1516476815a 100644 --- a/config/initializers/haml.rb +++ b/config/initializers/haml.rb @@ -1 +1,7 @@ Haml::Template.options[:ugly] = true + +# Remove the `:coffee` and `:coffeescript` filters +# +# See https://git.io/vztMu and http://stackoverflow.com/a/17571242/223897 +Haml::Filters.remove_filter('coffee') +Haml::Filters.remove_filter('coffeescript') -- cgit v1.2.1