Include closing semicolon in citation reference.
This commit is contained in:
		
							parent
							
								
									8a0f9d4540
								
							
						
					
					
						commit
						4a367dd7e0
					
				| @ -39,10 +39,12 @@ pub(crate) fn citation_reference<'b, 'g, 'r, 's>( | ||||
|     let (remaining, key) = parser_with_context!(citation_reference_key)(context)(remaining)?; | ||||
|     let (remaining, suffix) = | ||||
|         must_balance_bracket(opt(parser_with_context!(key_suffix)(context)))(remaining)?; | ||||
|     let without_closing_semi_remaining = remaining; | ||||
|     let (remaining, _closing_semi) = opt(tag(";"))(remaining)?; | ||||
|     let source = get_consumed(input, remaining); | ||||
| 
 | ||||
|     Ok(( | ||||
|         remaining, | ||||
|         without_closing_semi_remaining, | ||||
|         CitationReference { | ||||
|             source: source.into(), | ||||
|             key: key.into(), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander