diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-06-15 12:32:55 -0700 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-07-14 10:08:15 -0700 |
commit | e1824aa101a2181fe7e5ce080582cfa188d19da8 (patch) | |
tree | 2cd8c031e7c86fa06f10357e1f124eeccefe125e /lib/gitlab | |
parent | 34a3d2a340b5d235da3958176bca6e0de6679a0f (diff) | |
download | gitlab-ce-e1824aa101a2181fe7e5ce080582cfa188d19da8.tar.gz |
use the new token_lines interface to format lines
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/highlight.rb | 5 |
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 |