From ac2459327fd5adadadf20de7a1883b82a55fc7d6 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Mon, 22 Jul 2024 22:40:38 -0700 Subject: [PATCH] autodoc: Preserve whitespace in inline code spans Fixes #20754 --- lib/docs/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/docs/index.html b/lib/docs/index.html index be346c6176..e8d84aa914 100644 --- a/lib/docs/index.html +++ b/lib/docs/index.html @@ -26,6 +26,9 @@ margin: 0; overflow-x: auto; } + :not(pre) > code { + white-space: break-spaces; + } code { font-family:"Source Code Pro",monospace; font-size: 0.9em;