From 71781c2a05ba7da04d0666db17dc85e23e9c1252 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 7 Jul 2022 11:37:12 +0200 Subject: Add support for `Flow` content type --- src/subtokenize.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/subtokenize.rs') diff --git a/src/subtokenize.rs b/src/subtokenize.rs index 6b0460c..dd0351d 100644 --- a/src/subtokenize.rs +++ b/src/subtokenize.rs @@ -21,7 +21,7 @@ //! thus the whole document needs to be parsed up to the level of definitions, //! before any level that can include references can be parsed. -use crate::content::{string::start as string, text::start as text}; +use crate::content::{flow::start as flow, string::start as string, text::start as text}; use crate::parser::ParseState; use crate::tokenizer::{ContentType, Event, EventType, State, StateFn, StateFnResult, Tokenizer}; use crate::util::span; @@ -90,7 +90,9 @@ pub fn subtokenize(mut events: Vec, parse_state: &ParseState) -> (Vec