Commit a5321291 authored by Igor Drozdov's avatar Igor Drozdov

Fix 2.7 warning related to rouge gem

This fix allows us to get away without
updating the gem
parent 5fd14297
......@@ -8,9 +8,9 @@ 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)
def initialize(options = {})
@line_number = 1
@tag = tag
@tag = options[:tag]
end
def stream(tokens)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment