From daed685eb9e7a4e7749bbb975f4649e27d74bc37 Mon Sep 17 00:00:00 2001
From: Trinh Hai-Anh <trinh.haianh@skunkworks.vn>
Date: Fri, 24 Jun 2011 16:07:21 +0700
Subject: [PATCH] TECHNICAL_500_TEMPLATE: pre { white-space: pre-wrap; }

---
 django/views/debug.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/django/views/debug.py b/django/views/debug.py
index 490d4bb..9ea85dc 100644
--- a/django/views/debug.py
+++ b/django/views/debug.py
@@ -486,6 +486,7 @@ TECHNICAL_500_TEMPLATE = """
     .specific { color:#cc3300; font-weight:bold; }
     h2 span.commands { font-size:.7em;}
     span.commands a:link {color:#5E5694;}
+    pre { white-space: pre-wrap; }
     pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
   </style>
   {% if not is_email %}
-- 
1.7.4.1

