[damned-lies] Highlight white space for diff view ins and del tags



commit 1f86255eeabba2bd0763151a28192495079af297
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Apr 16 15:25:28 2022 +0200

    Highlight white space for diff view ins and del tags

 vertimus/views.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vertimus/views.py b/vertimus/views.py
index b7149721..b39dfaa8 100644
--- a/vertimus/views.py
+++ b/vertimus/views.py
@@ -327,8 +327,8 @@ class MsgiddiffView(PoFileActionBase):
             }
             div.nowrap { white-space: pre; }
             span.noline { color: #aaa; }
-            del { color: red; background-color: #fed4d4; }
-            ins { color: green; background-color: #c8f5c8; }
+            del { color: red; background-color: #fed4d4; white-space: pre; }
+            ins { color: green; background-color: #c8f5c8; white-space: pre; }
             div.separator { margin: 1em; color: #999; font-style: italic; }
         </style>
     </head>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]