typegen: fix callout bug which didn't add newlines
This commit is contained in:
		
							parent
							
								
									cf3ef03c42
								
							
						
					
					
						commit
						2fde54b3bc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,7 @@ pub struct GfmQuoteBlocks {
 | 
			
		|||
impl GfmQuoteBlocks {
 | 
			
		||||
		pub fn new() -> Self {
 | 
			
		||||
				Self {
 | 
			
		||||
						callout_regex: Regex::new(r#">\s+\[!(?<type>\w+)]\s+(?=\w)"#).unwrap()
 | 
			
		||||
						callout_regex: Regex::new(r#">\s+\[!(?<type>\w+)]\s+"#).unwrap()
 | 
			
		||||
				}
 | 
			
		||||
		}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue