From d9c44791c8acef407dd462efe0228a1fc4b6bfa8 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Wed, 2 Jan 2013 15:36:29 +0900 Subject: [PATCH] remove unused handling --- misc/style/gfm/gfm_style.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/style/gfm/gfm_style.rb b/misc/style/gfm/gfm_style.rb index a17730546..1f8abfa24 100644 --- a/misc/style/gfm/gfm_style.rb +++ b/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
#{code}
HTML