From 76a028b3369d5329c40b7f01bf56d821b82afe41 Mon Sep 17 00:00:00 2001 From: Ryan Stout Date: Mon, 25 Apr 2011 15:52:20 -0600 Subject: [PATCH] Revert "Bundler" - didn't mean to commit This reverts commit e3ac54c810ca342432ba31ce926bf1c635500c15. --- lib/blog_kit_model_helper.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/blog_kit_model_helper.rb b/lib/blog_kit_model_helper.rb index 1e7ebdc..e6885e7 100644 --- a/lib/blog_kit_model_helper.rb +++ b/lib/blog_kit_model_helper.rb @@ -36,11 +36,7 @@ def code_highlight_and_markdown(text, markdown_options = {}) end else if defined?(BlueCloth) - begin - BlueCloth.new(piece, markdown_options).to_html - rescue Exception => e - '[Parsing Error]' - end + BlueCloth.new(piece, markdown_options).to_html else ERB::Util.html_escape(piece) end