Skip to content

Commit ac24593

Browse files
squeek502andrewrk
authored andcommitted
autodoc: Preserve whitespace in inline code spans
Fixes #20754
1 parent 8a8a7ba commit ac24593

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/docs/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
margin: 0;
2727
overflow-x: auto;
2828
}
29+
:not(pre) > code {
30+
white-space: break-spaces;
31+
}
2932
code {
3033
font-family:"Source Code Pro",monospace;
3134
font-size: 0.9em;

0 commit comments

Comments
 (0)