deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [3/3] git commit: * views/errors/common.xml.haml: enclose the backtrace in a CDATA section
Date Wed, 06 Mar 2013 23:50:01 GMT
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 <lutter@redhat.com>
Authored: Wed Mar 6 15:42:13 2013 -0800
Committer: David Lutterkort <lutter@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|


Mime
View raw message