Permalink
Browse files

remove unused handling

  • Loading branch information...
1 parent a547213 commit d9c44791c8acef407dd462efe0228a1fc4b6bfa8 @hsbt hsbt committed Jan 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 misc/style/gfm/gfm_style.rb
@@ -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

0 comments on commit d9c4479

Please sign in to comment.