summaryrefslogtreecommitdiff
path: root/lib/gitlab/highlight.rb
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-06-15 12:32:55 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2016-07-14 10:08:15 -0700
commite1824aa101a2181fe7e5ce080582cfa188d19da8 (patch)
tree2cd8c031e7c86fa06f10357e1f124eeccefe125e /lib/gitlab/highlight.rb
parent34a3d2a340b5d235da3958176bca6e0de6679a0f (diff)
downloadgitlab-ce-e1824aa101a2181fe7e5ce080582cfa188d19da8.tar.gz
use the new token_lines interface to format lines
Diffstat (limited to 'lib/gitlab/highlight.rb')
-rw-r--r--lib/gitlab/highlight.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/gitlab/highlight.rb b/lib/gitlab/highlight.rb
index aaef569d870..ba157cc98cc 100644
--- a/lib/gitlab/highlight.rb
+++ b/lib/gitlab/highlight.rb
@@ -47,10 +47,7 @@ module Gitlab
end
def rouge_formatter(options = {})
- Rouge::Formatters::HTMLGitlab.new(
- lineanchors: true,
- lineanchorsid: 'LC'
- )
+ Rouge::Formatters::HTMLGitlab.new
end
end
end