1
Fork 0

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:
Pietro Albini 2019-11-25 15:05:11 +01:00 committed by GitHub
commit 7520f6da69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -376,7 +376,7 @@ nav.sub {
text-overflow: ellipsis;
margin: 0;
}
.docblock-short code {
.docblock code, .docblock-short code {
white-space: pre-wrap;
}