From 3048b7aca0690691d25cb8409d543b2377e065e1 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 11 Aug 2022 15:54:13 +0200 Subject: Refactor to move `space_or_tab_eol` to own file --- src/construct/partial_title.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/construct/partial_title.rs') diff --git a/src/construct/partial_title.rs b/src/construct/partial_title.rs index be06c02..6421360 100644 --- a/src/construct/partial_title.rs +++ b/src/construct/partial_title.rs @@ -30,7 +30,7 @@ //! [character_reference]: crate::construct::character_reference //! [label_end]: crate::construct::label_end -use crate::construct::partial_space_or_tab::{space_or_tab_eol_with_options, EolOptions}; +use crate::construct::partial_space_or_tab_eol::{space_or_tab_eol_with_options, Options}; use crate::event::{Content, Name}; use crate::state::{Name as StateName, State}; use crate::subtokenize::link; @@ -101,7 +101,7 @@ pub fn at_break(tokenizer: &mut Tokenizer) -> State { Some(b'\n') => { let name = space_or_tab_eol_with_options( tokenizer, - EolOptions { + Options { content_type: Some(Content::String), connect: tokenizer.tokenize_state.connect, }, -- cgit