Fix footnote definition end matcher to use trailing whitespace.
This commit is contained in:
		
							parent
							
								
									6578ddc100
								
							
						
					
					
						commit
						ea753ad33c
					
				| @ -76,8 +76,13 @@ fn footnote_definition_end<'r, 's>( | ||||
| ) -> Res<&'s str, &'s str> { | ||||
|     let start_of_line_matcher = parser_with_context!(start_of_line)(context); | ||||
|     let footnote_definition_matcher = parser_with_context!(footnote_definition)(context); | ||||
|     let maybe_consume_trailing_whitespace_matcher = | ||||
|         parser_with_context!(maybe_consume_trailing_whitespace)(context); | ||||
|     alt(( | ||||
|         recognize(tuple((multispace0, footnote_definition_matcher))), | ||||
|         recognize(tuple(( | ||||
|             maybe_consume_trailing_whitespace_matcher, | ||||
|             footnote_definition_matcher, | ||||
|         ))), | ||||
|         recognize(tuple(( | ||||
|             start_of_line_matcher, | ||||
|             verify(many1(blank_line), |lines: &Vec<&str>| lines.len() >= 2), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander