Add comment defining problem.
This commit is contained in:
		
							parent
							
								
									ddea313401
								
							
						
					
					
						commit
						9257420c83
					
				| @ -31,6 +31,7 @@ pub fn plain_list<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s s | ||||
|     let (remaining, first_item) = plain_list_item(context, input)?; | ||||
|     let plain_list_item_matcher = parser_with_context!(plain_list_item)(context); | ||||
|     let exit_matcher = parser_with_context!(exit_matcher_parser)(context); | ||||
|     // TODO: The problem is this expects the list to be followed by something that matches the exit matcher, but after we have the first plain list item, really anything that is not a plain list item is a good exit condition.
 | ||||
|     let (remaining, (mut children, _exit_contents)) = many_till( | ||||
|         verify(plain_list_item_matcher, |pli| { | ||||
|             pli.indentation == first_item.indentation | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander