Rollup merge of #65613 - Mark-Simulacrum:rustdoc-preserve-ws, r=GuillaumeGomez
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. Fixes #65555
This commit is contained in:
commit
7520f6da69
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ nav.sub {
|
|||
text-overflow: ellipsis;
|
||||
margin: 0;
|
||||
}
|
||||
.docblock-short code {
|
||||
.docblock code, .docblock-short code {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue