From 08133e631989dafa40cbdabcf152b15c715cb22a Mon Sep 17 00:00:00 2001 From: HesterG Date: Thu, 23 Feb 2023 20:57:03 +0800 Subject: [PATCH] Change style to improve whitespaces trimming inside inline markdown code (#23093) Given mardown source ``` x ` a` y x `a ` y x ` a ` y ``` Render 2023-02-23 15 33 14 Fixes #23080. --- web_src/less/markup/content.less | 1 + 1 file changed, 1 insertion(+) diff --git a/web_src/less/markup/content.less b/web_src/less/markup/content.less index 2a9ca3db5a574..725a3d9886f58 100644 --- a/web_src/less/markup/content.less +++ b/web_src/less/markup/content.less @@ -415,6 +415,7 @@ padding: .2em .4em; margin: 0; font-size: 85%; + white-space: break-spaces; background-color: var(--color-markup-code-block); border-radius: 4px; }