Skip to content

Commit 0ae053a

Browse files
committed
rustdoc: Fix some unescaped HTML tags in docs
They were being interpreted literally.
1 parent 548c108 commit 0ae053a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/externalfiles.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ use serde::Serialize;
88

99
#[derive(Clone, Debug, Serialize)]
1010
crate struct ExternalHtml {
11-
/// Content that will be included inline in the <head> section of a
11+
/// Content that will be included inline in the `<head>` section of a
1212
/// rendered Markdown file or generated documentation
1313
crate in_header: String,
14-
/// Content that will be included inline between <body> and the content of
14+
/// Content that will be included inline between `<body>` and the content of
1515
/// a rendered Markdown file or generated documentation
1616
crate before_content: String,
17-
/// Content that will be included inline between the content and </body> of
17+
/// Content that will be included inline between the content and `</body>` of
1818
/// a rendered Markdown file or generated documentation
1919
crate after_content: String,
2020
}

0 commit comments

Comments
 (0)