From b121e7d4f508c5c6c9538dde656207afbed11933 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 16 May 2020 10:04:02 +0530 Subject: [PATCH] Conversion: Change the default white-space CSS for
 tags
 to pre-wrap as this suits ebooks better (most ebook readin programs dont do
 horizontal scrolling in paged mode well).

---
 resources/templates/html.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/templates/html.css b/resources/templates/html.css
index 6122ca0c17..4d9a5bd55f 100644
--- a/resources/templates/html.css
+++ b/resources/templates/html.css
@@ -124,7 +124,7 @@ h6 {
 pre {
   display: block;
   font-family: monospace;
-  white-space: pre;
+  white-space: pre-wrap;
   margin: 1em 0;
 }