Clarify wording in docs

This commit is contained in:
Noah Lev 2021-08-21 12:39:17 -07:00 committed by GitHub
parent 39ef8ea767
commit 09f0876dc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ use crate::html::escape::Escape;
/// This buffer ensures that:
///
/// * all tags are closed,
/// * 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),
/// * no tags are left empty (e.g., `<em></em>`) due to the length limit being reached,
/// * all text is escaped.
#[derive(Debug)]