diff --git a/lib/jekyll/tags/highlight.rb b/lib/jekyll/tags/highlight.rb index 8719511f..f07e98b1 100644 --- a/lib/jekyll/tags/highlight.rb +++ b/lib/jekyll/tags/highlight.rb @@ -58,7 +58,7 @@ eos output = add_code_tags( Pygments.highlight(code, :lexer => @lang, :options => @options), - @lang + @lang.to_s.gsub("+", "-") ) output = context["highlighter_prefix"] + output if context["highlighter_prefix"]