[MFM] Improve italic syntax detection
This commit is contained in:
		
							parent
							
								
									501379c82c
								
							
						
					
					
						commit
						42cd7c8a75
					
				
					 3 changed files with 18 additions and 1 deletions
				
			
		|  | @ -966,6 +966,13 @@ describe('MFM', () => { | |||
| 					text('*foo_'), | ||||
| 				]); | ||||
| 			}); | ||||
| 
 | ||||
| 			it('ignore snake_case string', () => { | ||||
| 				const tokens = analyze('foo_bar_baz'); | ||||
| 				assert.deepStrictEqual(tokens, [ | ||||
| 					text('foo_bar_baz'), | ||||
| 				]); | ||||
| 			}); | ||||
| 		}); | ||||
| 	}); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue