You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2013/03/07 00:50:01 UTC

[3/3] git commit: * views/errors/common.xml.haml: enclose the backtrace in a CDATA section

Updated Branches:
  refs/heads/master c7f4d0226 -> 04105b7cc


* views/errors/common.xml.haml: enclose the backtrace in a CDATA section


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/04105b7c
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/04105b7c
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/04105b7c

Branch: refs/heads/master
Commit: 04105b7cc8766f9c060b5652da56f2e78f874c4b
Parents: cf1b93b
Author: David Lutterkort <lu...@redhat.com>
Authored: Wed Mar 6 15:42:13 2013 -0800
Committer: David Lutterkort <lu...@redhat.com>
Committed: Wed Mar 6 15:42:13 2013 -0800

----------------------------------------------------------------------
 server/views/errors/common.xml.haml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/04105b7c/server/views/errors/common.xml.haml
----------------------------------------------------------------------
diff --git a/server/views/errors/common.xml.haml b/server/views/errors/common.xml.haml
index 5509a87..88ce93f 100644
--- a/server/views/errors/common.xml.haml
+++ b/server/views/errors/common.xml.haml
@@ -9,7 +9,8 @@
     - else
       =translate_error_code(response.status)
   - if @error.respond_to? :backtrace
-    %backtrace=@error.backtrace.nil? ? '' : @error.backtrace.join("\n")
+    %backtrace
+      =cdata @error.backtrace.nil? ? '' : @error.backtrace.join("\n")
     %request
       - if params
         -params.each do |name, value|