Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-06-15 22:32:55 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2016-07-14 20:08:15 +0300
commite1824aa101a2181fe7e5ce080582cfa188d19da8 (patch)
tree2cd8c031e7c86fa06f10357e1f124eeccefe125e /lib/gitlab
parent34a3d2a340b5d235da3958176bca6e0de6679a0f (diff)
use the new token_lines interface to format lines
Diffstat (limited to 'lib/gitlab')
-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