From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- dom/xml/resources/XMLPrettyPrint.css | 8 ++++++++ dom/xml/resources/XMLPrettyPrint.xsl | 11 +++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'dom/xml') diff --git a/dom/xml/resources/XMLPrettyPrint.css b/dom/xml/resources/XMLPrettyPrint.css index 845833c46f..4e2088bd91 100644 --- a/dom/xml/resources/XMLPrettyPrint.css +++ b/dom/xml/resources/XMLPrettyPrint.css @@ -56,3 +56,11 @@ font-family: monospace; white-space: pre; } + +.space-default { + white-space: initial; +} + +.space-preserve { + white-space: pre-wrap; +} diff --git a/dom/xml/resources/XMLPrettyPrint.xsl b/dom/xml/resources/XMLPrettyPrint.xsl index b23296cf0d..7b9397cde7 100644 --- a/dom/xml/resources/XMLPrettyPrint.xsl +++ b/dom/xml/resources/XMLPrettyPrint.xsl @@ -33,7 +33,7 @@ -
+
< @@ -48,7 +48,7 @@ -
+
< @@ -68,6 +68,13 @@
+ + space-default + + + space-preserve + + -- cgit v1.2.3