Skip to content

Commit bc3ed32

Browse files
Preserve whitespace inside one-backtick codeblocks
Previously this was only done inside short docblocks (e.g., summary lines), but we should also do so in general.
1 parent e5b8c11 commit bc3ed32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ nav.sub {
376376
text-overflow: ellipsis;
377377
margin: 0;
378378
}
379-
.docblock-short code {
379+
.docblock code, .docblock-short code {
380380
white-space: pre-wrap;
381381
}
382382

0 commit comments

Comments
 (0)