From 6c30142fb0018dc85bedded605b3eea4f49d0c42 Mon Sep 17 00:00:00 2001 From: Dave Miller Date: Tue, 2 Jul 2013 13:01:19 -0700 Subject: [PATCH] Treat message as CDATA to avoid invalid XML --- public/javascripts/notifier.js | 2 +- spec/fixtures/hoptoad_test_notice.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/javascripts/notifier.js b/public/javascripts/notifier.js index 792759e71..2a1bd30c2 100644 --- a/public/javascripts/notifier.js +++ b/public/javascripts/notifier.js @@ -366,7 +366,7 @@ printStackTrace.implementation.prototype = { '' + '' + '{exception_class}' + - '{exception_message}' + + '' + '{backtrace_lines}' + '' + '' + diff --git a/spec/fixtures/hoptoad_test_notice.xml b/spec/fixtures/hoptoad_test_notice.xml index d2e181263..699191d35 100644 --- a/spec/fixtures/hoptoad_test_notice.xml +++ b/spec/fixtures/hoptoad_test_notice.xml @@ -9,7 +9,7 @@ Rails: 3.2.11 HoptoadTestingException - HoptoadTestingException: Testing hoptoad via "rake hoptoad:test". If you can see this, it works. +