summaryrefslogtreecommitdiff
path: root/config/initializers/hamlit.rb
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-06-23 09:21:35 -0600
committerConnor Shea <connor.james.shea@gmail.com>2016-06-23 15:54:23 -0600
commit262f902d9afd4c7ec13124141312726d68f5ca79 (patch)
treed14b1ec5272b2076f3f41f64fd53c9221d2916e9 /config/initializers/hamlit.rb
parent02f0cb690f2e6da65e1a818cd37b1fe9b037f8f3 (diff)
downloadgitlab-ce-262f902d9afd4c7ec13124141312726d68f5ca79.tar.gz
Restrict hamlit version, remove coffeescript filters.
Diffstat (limited to 'config/initializers/hamlit.rb')
-rw-r--r--config/initializers/hamlit.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/hamlit.rb b/config/initializers/hamlit.rb
index 259d562e586..7b545d8c06c 100644
--- a/config/initializers/hamlit.rb
+++ b/config/initializers/hamlit.rb
@@ -13,3 +13,6 @@ ActionView::Template.register_template_handler(
:haml,
Hamlit::TemplateHandler.new,
)
+
+Hamlit::Filters.remove_filter('coffee')
+Hamlit::Filters.remove_filter('coffeescript')