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-07-14 19:51:10 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2016-07-14 20:08:15 +0300
commit3bb65815b0cb7731b3262ff216506582951a6f6f (patch)
tree54d261dcd6ee83ee25ae4df47cb604c7b81f81b5 /lib/banzai
parent55dc7d09b35c43679d0c298885c10aa59818bf66 (diff)
kill the :cssclass option
Diffstat (limited to 'lib/banzai')
-rw-r--r--lib/banzai/filter/syntax_highlight_filter.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/banzai/filter/syntax_highlight_filter.rb b/lib/banzai/filter/syntax_highlight_filter.rb
index c06de2e5b37..7f838ef4c08 100644
--- a/lib/banzai/filter/syntax_highlight_filter.rb
+++ b/lib/banzai/filter/syntax_highlight_filter.rb
@@ -44,8 +44,7 @@ module Banzai
# Override Rouge::Plugins::Redcarpet#rouge_formatter
def rouge_formatter(lexer)
- Rouge::Formatters::HTMLGitlab.new(
- cssclass: "code highlight js-syntax-highlight #{lexer.tag}")
+ Rouge::Formatters::HTMLGitlab.new
end
end
end