From 880260546353565fa52089ba9d34f0db1fa0d851 Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Mon, 16 Dec 2024 08:15:05 +0100 Subject: [PATCH] Keep whitespace in code highlighting Refs #2041. --- debug_toolbar/static/debug_toolbar/css/toolbar.css | 1 + 1 file changed, 1 insertion(+) diff --git a/debug_toolbar/static/debug_toolbar/css/toolbar.css b/debug_toolbar/static/debug_toolbar/css/toolbar.css index 8a19ab646..d4f70a315 100644 --- a/debug_toolbar/static/debug_toolbar/css/toolbar.css +++ b/debug_toolbar/static/debug_toolbar/css/toolbar.css @@ -591,6 +591,7 @@ } /* Literal.String */ #djDebug .highlight .w { color: #888888; + white-space: pre; } /* Text.Whitespace */ #djDebug .highlight .il { color: var(--djdt-font-color);