Permalink
Browse files

Fix quoting issues in catch_exception.rb whch were causing trouble on…

… Ruby 1.9.2
  • Loading branch information...
1 parent cc857d8 commit 4cfb9e56c78244bccb7ba404638383505a801c69 Dr Nic Williams and Ryan Bigg committed Oct 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Support/RubyMate/catch_exception.rb
@@ -10,7 +10,7 @@
io = IO.for_fd(ENV['TM_ERROR_FD'].to_i)
io.write "<div id='exception_report' class='framed'>\n"
- io.write "<p id='exception'><strong>#{e.class.name}:</strong> #{CGI.escapeHTML e.message.sub(/`(\w+)'/, '‘\1’').sub(/ -- /, '')}</p>\n"
+ io.write "<p id='exception'><strong>#{e.class.name}:</strong> #{CGI.escapeHTML e.message.sub(/`(\w+)'/, "\1")}</p>\n"
io.write "<blockquote><table border='0' cellspacing='4' cellpadding='0'>\n"

0 comments on commit 4cfb9e5

Please sign in to comment.