summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-12-31 14:37:57 +0100
committerjaseg <git@jaseg.de>2022-12-31 14:37:57 +0100
commit02fac034b93904eaa93628da1875b53549075296 (patch)
treec6c879dbf49331549607b06551a6293c11f0965f
parent1f94cf6ca59e91cb9d4cee6ff2bada65ada97340 (diff)
downloadwsdiff-02fac034b93904eaa93628da1875b53549075296.tar.gz
wsdiff-02fac034b93904eaa93628da1875b53549075296.tar.bz2
wsdiff-02fac034b93904eaa93628da1875b53549075296.zip
Make whitespace show up at the beginning of the line
-rw-r--r--html_diff.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/html_diff.py b/html_diff.py
index aef2a2e..a99b973 100644
--- a/html_diff.py
+++ b/html_diff.py
@@ -158,6 +158,7 @@ HTML_TEMPLATE = r'''
/* Make individual syntax tokens wrap anywhere */
.line > span {
overflow-wrap: anywhere;
+ white-space: pre-wrap;
}
.line {