summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-03-07 23:14:41 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2018-03-07 23:14:41 +1100
commitaa60db6cee8e285a39077c567c7f59fecbd0e0a3 (patch)
tree3436f1a3ab2ea99cc976a25f8e50f23872ba6cdd /config
parentb50756401746d936cfe3eea5e0c6d300ab0db0eb (diff)
downloadgitlab-ce-aa60db6cee8e285a39077c567c7f59fecbd0e0a3.tar.gz
Add CommonMark markdown enginereplace_redcarpet_with_cmark
Diffstat (limited to 'config')
-rw-r--r--config/initializers/8_metrics.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/8_metrics.rb b/config/initializers/8_metrics.rb
index 45b39b2a38d..7cdf49159b4 100644
--- a/config/initializers/8_metrics.rb
+++ b/config/initializers/8_metrics.rb
@@ -94,6 +94,7 @@ def instrument_classes(instrumentation)
instrumentation.instrument_instance_methods(RepositoryCheck::SingleRepositoryWorker)
+ instrumentation.instrument_instance_methods(Rouge::Plugins::CommonMark)
instrumentation.instrument_instance_methods(Rouge::Plugins::Redcarpet)
instrumentation.instrument_instance_methods(Rouge::Formatters::HTMLGitlab)