未验证 提交 7520f6da 编写于 作者: P Pietro Albini 提交者: GitHub

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
......@@ -376,7 +376,7 @@ nav.sub {
text-overflow: ellipsis;
margin: 0;
}
.docblock-short code {
.docblock code, .docblock-short code {
white-space: pre-wrap;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册