diff --git a/src/parser/text_element_parser.rs b/src/parser/text_element_parser.rs index 801c7e24..2a49c718 100644 --- a/src/parser/text_element_parser.rs +++ b/src/parser/text_element_parser.rs @@ -45,8 +45,10 @@ fn flat_bold<'s, 'r>( i: &'s str, context: &'r TestContext, ) -> Res<&'s str, TextElement<'s>> { - let fail_matcher = recognize(bold_end); - let new_context = context.with_additional_fail_matcher(Rc::new(RefCell::new(paragraph_end))); + // let fail_matcher = recognize(bold_end); + // let new_context = context.with_additional_fail_matcher(Rc::new(RefCell::new(paragraph_end))); + let new_context = + context.with_additional_fail_matcher(Rc::new(RefCell::new(recognize(bold_end)))); // let new_context = context.without_bold(Rc::new(RefCell::new(recognize(bold_end)))); todo!() }