diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-07-14 19:51:10 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-07-14 20:08:15 +0300 |
commit | 3bb65815b0cb7731b3262ff216506582951a6f6f (patch) | |
tree | 54d261dcd6ee83ee25ae4df47cb604c7b81f81b5 /lib/banzai | |
parent | 55dc7d09b35c43679d0c298885c10aa59818bf66 (diff) |
kill the :cssclass option
Diffstat (limited to 'lib/banzai')
-rw-r--r-- | lib/banzai/filter/syntax_highlight_filter.rb | 3 |
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 |