Text markup uses confine context.

This commit is contained in:
Tom Alexander
2023-10-09 20:36:38 -04:00
parent 25531cc443
commit ee1d8ca321
3 changed files with 27 additions and 50 deletions

View File

@@ -22,9 +22,6 @@ pub(crate) enum ContextElement<'r, 's> {
/// Stores the name of the current element to prevent directly nesting elements of the same type.
Context(&'r str),
/// Stores the name of the current object to prevent directly nesting elements of the same type.
ContextObject(&'r str),
/// Indicates if elements should consume the whitespace after them.
ConsumeTrailingWhitespace(bool),