Skip to content

Commit

Permalink
remove unused handling
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jan 2, 2013
1 parent a547213 commit d9c4479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/style/gfm/gfm_style.rb
Expand Up @@ -26,7 +26,7 @@ class HTMLwithPygments < Redcarpet::Render::HTML
def block_code(code, language)
require 'pygments'
Pygments.highlight(code, :lexer => language)
rescue Exception, LoadError
rescue Exception
<<-HTML
<div class="highlight"><pre>#{code}</pre></div>
HTML
Expand Down

0 comments on commit d9c4479

Please sign in to comment.