summaryrefslogtreecommitdiff
path: root/lib/rouge
diff options
context:
space:
mode:
authorPatrick Bajao <ebajao@gitlab.com>2019-08-09 00:13:09 +0000
committerPatrick Bajao <ebajao@gitlab.com>2019-08-09 00:13:09 +0000
commit6d318af5f95cc4091b09f1b2f8ed9981f3a8b9c7 (patch)
tree34ad57d297cc184075fb8c808eac3275266e8f3a /lib/rouge
parent00223f91f316a0d09b158595990cf1cd237c27ec (diff)
downloadgitlab-ce-6d318af5f95cc4091b09f1b2f8ed9981f3a8b9c7.tar.gz
Revert "Merge branch '65152-selective-highlight' into 'master'"revert-d61dab91
This reverts merge request !31361
Diffstat (limited to 'lib/rouge')
-rw-r--r--lib/rouge/formatters/html_gitlab.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rouge/formatters/html_gitlab.rb b/lib/rouge/formatters/html_gitlab.rb
index 0d4ac504428..e2a7d3ef5ba 100644
--- a/lib/rouge/formatters/html_gitlab.rb
+++ b/lib/rouge/formatters/html_gitlab.rb
@@ -8,8 +8,8 @@ module Rouge
# Creates a new <tt>Rouge::Formatter::HTMLGitlab</tt> instance.
#
# [+tag+] The tag (language) of the lexer used to generate the formatted tokens
- def initialize(tag: nil, since: nil)
- @line_number = since || 1
+ def initialize(tag: nil)
+ @line_number = 1
@tag = tag
end