Skip to content

Commit

Permalink
surpress rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Dec 10, 2016
1 parent 94c6bc6 commit d0799c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/review/htmlutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def highlight_rouge(ops)
raise "unknown lexer #{lexer}" unless lexer

#formatter = Rouge::Formatters::HTML.new()
formatter = Rouge::Formatters::HTML.new(css_class: 'highlight')
formatter = Rouge::Formatters::HTML.new(:css_class => 'highlight')
#formatter = Rouge::Formatters::HTMLLegacy.new(:css_class => "highlight #{lexer.tag}")
#formatter = Rouge::Formatters::HTMLPygments.new(Rouge::Formatters::HTML.new, "highlight #{lexer.tag}")
#formatter = Rouge::Formatters::HTMLInline.new(Rouge::Themes::Colorful.new)
Expand Down

0 comments on commit d0799c0

Please sign in to comment.