aboutsummaryrefslogtreecommitdiffstats
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/content/document.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/document.rs b/src/content/document.rs
index 41d60e2..f90aea7 100644
--- a/src/content/document.rs
+++ b/src/content/document.rs
@@ -6,7 +6,7 @@
//! The constructs found in flow are:
//!
//! * [Block quote][crate::construct::block_quote]
-//! * [List][crate::construct::list]
+//! * [List][crate::construct::list_item]
use crate::event::{Content, Event, Kind, Link, Name, Point};
use crate::parser::ParseState;
@@ -103,7 +103,7 @@ pub fn container_existing_before(tokenizer: &mut Tokenizer) -> State {
let name = match container.kind {
Container::BlockQuote => StateName::BlockQuoteContStart,
- Container::ListItem => StateName::ListContStart,
+ Container::ListItem => StateName::ListItemContStart,
};
tokenizer.attempt(
@@ -201,7 +201,7 @@ pub fn container_new_before_not_block_quote(tokenizer: &mut Tokenizer) -> State
State::Next(StateName::DocumentContainerNewAfter),
State::Next(StateName::DocumentContainerNewBeforeNotList),
);
- State::Retry(StateName::ListStart)
+ State::Retry(StateName::ListItemStart)
}
/// At new container, but not a list (or block quote).