I was double-matching the bold end.
This commit is contained in:
		
							parent
							
								
									9c54689bd9
								
							
						
					
					
						commit
						e215fd35ca
					
				| @ -57,7 +57,6 @@ fn flat_bold<'s, 'r>(i: &'s str, context: &'r OrgModeContext<'r>) -> Res<&'s str | ||||
|     let (remaining, captured) = recognize(tuple(( | ||||
|         bold_start, | ||||
|         many_till(text_element_parser, bold_end), | ||||
|         bold_end, | ||||
|     )))(i)?; | ||||
|     let ret = TextElement::Bold(Bold { contents: captured }); | ||||
|     Ok((remaining, ret)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander