From af3a49b59de64f5e249cf2a636ebe981c3922029 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Fri, 19 Dec 2025 01:35:13 +0000 Subject: [PATCH] Inline code rendering does not preserve multiple spaces (#43612). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24220 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/application.css | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 5fcbd58cc..d416688a5 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1613,6 +1613,7 @@ div.wiki *:not(pre)>code, div.wiki>code { background: rgba(var(--oc-gray-9-rgb), 0.08); padding: 0.1em 0.1em; border-radius: 0.1em; + white-space: pre-wrap; } div.pre-wrapper a.copy-pre-content-link {