authorgravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2024-07-22 22:40:38-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-23 10:02:54-07:00
logac2459327fd5adadadf20de7a1883b82a55fc7d6
tree6d37d8ff431c9a7aad9768f43b3d9078a5815824
parent8a8a7ba35bd1d580f60a44e1a2803457595df30e

autodoc: Preserve whitespace in inline code spans

Fixes #20754

1 files changed, 3 insertions(+), 0 deletions(-)

lib/docs/index.html+3
...@@ -26,6 +26,9 @@...@@ -26,6 +26,9 @@
26 margin: 0;26 margin: 0;
27 overflow-x: auto;27 overflow-x: auto;
28 }28 }
29 :not(pre) > code {
30 white-space: break-spaces;
31 }
29 code {32 code {
30 font-family:"Source Code Pro",monospace;33 font-family:"Source Code Pro",monospace;
31 font-size: 0.9em;34 font-size: 0.9em;