We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ef8ea commit 09f0876Copy full SHA for 09f0876
src/librustdoc/html/length_limit.rs
@@ -10,7 +10,7 @@ use crate::html::escape::Escape;
10
/// This buffer ensures that:
11
///
12
/// * all tags are closed,
13
-/// * only the most recently opened tag is closed,
+/// * tags are closed in the reverse order of when they were opened (i.e., the correct HTML order),
14
/// * no tags are left empty (e.g., `<em></em>`) due to the length limit being reached,
15
/// * all text is escaped.
16
#[derive(Debug)]
0 commit comments